Interface TargetConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TargetConfig.Builder,,TargetConfig> SdkBuilder<TargetConfig.Builder,,TargetConfig> SdkPojo
- Enclosing class:
TargetConfig
@Mutable
@NotThreadSafe
public static interface TargetConfig.Builder
extends SdkPojo, CopyableBuilder<TargetConfig.Builder,TargetConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TargetConfig.BuilderagentCoreRuntime(Consumer<AgentCoreRuntimeTarget.Builder> agentCoreRuntime) An endpoint of the experiment's AgentCore Runtime.agentCoreRuntime(AgentCoreRuntimeTarget agentCoreRuntime) An endpoint of the experiment's AgentCore Runtime.default TargetConfig.Buildercustom(Consumer<CustomTarget.Builder> custom) A label for what was tried, for a custom target.custom(CustomTarget custom) A label for what was tried, for a custom target.default TargetConfig.BuilderhttpsEndpoint(Consumer<HttpsEndpointTarget.Builder> httpsEndpoint) A URL of the experiment's HTTPS service.httpsEndpoint(HttpsEndpointTarget httpsEndpoint) A URL of the experiment's HTTPS service.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
An endpoint of the experiment's AgentCore Runtime.
- Parameters:
agentCoreRuntime- An endpoint of the experiment's AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentCoreRuntime
default TargetConfig.Builder agentCoreRuntime(Consumer<AgentCoreRuntimeTarget.Builder> agentCoreRuntime) An endpoint of the experiment's AgentCore Runtime.
This is a convenience method that creates an instance of theAgentCoreRuntimeTarget.Builderavoiding the need to create one manually viaAgentCoreRuntimeTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentCoreRuntime(AgentCoreRuntimeTarget).- Parameters:
agentCoreRuntime- a consumer that will call methods onAgentCoreRuntimeTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
httpsEndpoint
A URL of the experiment's HTTPS service.
- Parameters:
httpsEndpoint- A URL of the experiment's HTTPS service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpsEndpoint
A URL of the experiment's HTTPS service.
This is a convenience method that creates an instance of theHttpsEndpointTarget.Builderavoiding the need to create one manually viaHttpsEndpointTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohttpsEndpoint(HttpsEndpointTarget).- Parameters:
httpsEndpoint- a consumer that will call methods onHttpsEndpointTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
custom
A label for what was tried, for a custom target.
- Parameters:
custom- A label for what was tried, for a custom target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
A label for what was tried, for a custom target.
This is a convenience method that creates an instance of theCustomTarget.Builderavoiding the need to create one manually viaCustomTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustom(CustomTarget).- Parameters:
custom- a consumer that will call methods onCustomTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-