Interface HttpTargetConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HttpTargetConfiguration.Builder,,HttpTargetConfiguration> SdkBuilder<HttpTargetConfiguration.Builder,,HttpTargetConfiguration> SdkPojo
- Enclosing class:
HttpTargetConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpTargetConfiguration.BuilderagentcoreRuntime(Consumer<RuntimeTargetConfiguration.Builder> agentcoreRuntime) The AgentCore Runtime target configuration for HTTP-based communication with an agent runtime.agentcoreRuntime(RuntimeTargetConfiguration agentcoreRuntime) The AgentCore Runtime target configuration for HTTP-based communication with an agent runtime.default HttpTargetConfiguration.Builderpassthrough(Consumer<PassthroughTargetConfiguration.Builder> passthrough) The passthrough configuration for the HTTP target.passthrough(PassthroughTargetConfiguration passthrough) The passthrough configuration for the HTTP target.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
agentcoreRuntime
The AgentCore Runtime target configuration for HTTP-based communication with an agent runtime.
- Parameters:
agentcoreRuntime- The AgentCore Runtime target configuration for HTTP-based communication with an agent runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentcoreRuntime
default HttpTargetConfiguration.Builder agentcoreRuntime(Consumer<RuntimeTargetConfiguration.Builder> agentcoreRuntime) The AgentCore Runtime target configuration for HTTP-based communication with an agent runtime.
This is a convenience method that creates an instance of theRuntimeTargetConfiguration.Builderavoiding the need to create one manually viaRuntimeTargetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentcoreRuntime(RuntimeTargetConfiguration).- Parameters:
agentcoreRuntime- a consumer that will call methods onRuntimeTargetConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
passthrough
The passthrough configuration for the HTTP target. A passthrough target forwards requests directly to an external HTTP endpoint.
- Parameters:
passthrough- The passthrough configuration for the HTTP target. A passthrough target forwards requests directly to an external HTTP endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passthrough
default HttpTargetConfiguration.Builder passthrough(Consumer<PassthroughTargetConfiguration.Builder> passthrough) The passthrough configuration for the HTTP target. A passthrough target forwards requests directly to an external HTTP endpoint.
This is a convenience method that creates an instance of thePassthroughTargetConfiguration.Builderavoiding the need to create one manually viaPassthroughTargetConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topassthrough(PassthroughTargetConfiguration).- Parameters:
passthrough- a consumer that will call methods onPassthroughTargetConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-