Interface SynchronizeGatewayTargetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<SynchronizeGatewayTargetsResponse.Builder,,SynchronizeGatewayTargetsResponse> SdkBuilder<SynchronizeGatewayTargetsResponse.Builder,,SynchronizeGatewayTargetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SynchronizeGatewayTargetsResponse
@Mutable
@NotThreadSafe
public static interface SynchronizeGatewayTargetsResponse.Builder
extends BedrockAgentCoreControlResponse.Builder, SdkPojo, CopyableBuilder<SynchronizeGatewayTargetsResponse.Builder,SynchronizeGatewayTargetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontargets(Collection<GatewayTarget> targets) The gateway targets for synchronization.targets(Consumer<GatewayTarget.Builder>... targets) The gateway targets for synchronization.targets(GatewayTarget... targets) The gateway targets for synchronization.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
targets
The gateway targets for synchronization.
- Parameters:
targets- The gateway targets for synchronization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The gateway targets for synchronization.
- Parameters:
targets- The gateway targets for synchronization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The gateway targets for synchronization.
This is a convenience method that creates an instance of theGatewayTarget.Builderavoiding the need to create one manually viaGatewayTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargets(List<GatewayTarget>).- Parameters:
targets- a consumer that will call methods onGatewayTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-