Interface SubmitAttachmentStateChangesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SubmitAttachmentStateChangesRequest.Builder,,SubmitAttachmentStateChangesRequest> EcsRequest.Builder,SdkBuilder<SubmitAttachmentStateChangesRequest.Builder,,SubmitAttachmentStateChangesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SubmitAttachmentStateChangesRequest
@Mutable
@NotThreadSafe
public static interface SubmitAttachmentStateChangesRequest.Builder
extends EcsRequest.Builder, SdkPojo, CopyableBuilder<SubmitAttachmentStateChangesRequest.Builder,SubmitAttachmentStateChangesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionattachments(Collection<AttachmentStateChange> attachments) Any attachments associated with the state change request.attachments(Consumer<AttachmentStateChange.Builder>... attachments) Any attachments associated with the state change request.attachments(AttachmentStateChange... attachments) Any attachments associated with the state change request.The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
cluster
The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.
- Parameters:
cluster- The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
SubmitAttachmentStateChangesRequest.Builder attachments(Collection<AttachmentStateChange> attachments) Any attachments associated with the state change request.
- Parameters:
attachments- Any attachments associated with the state change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
Any attachments associated with the state change request.
- Parameters:
attachments- Any attachments associated with the state change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachments
SubmitAttachmentStateChangesRequest.Builder attachments(Consumer<AttachmentStateChange.Builder>... attachments) Any attachments associated with the state change request.
This is a convenience method that creates an instance of theAttachmentStateChange.Builderavoiding the need to create one manually viaAttachmentStateChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachments(List<AttachmentStateChange>).- Parameters:
attachments- a consumer that will call methods onAttachmentStateChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SubmitAttachmentStateChangesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SubmitAttachmentStateChangesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-