Interface SubmitAttachmentStateChangesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SubmitAttachmentStateChangesRequest.Builder,SubmitAttachmentStateChangesRequest>
,EcsRequest.Builder
,SdkBuilder<SubmitAttachmentStateChangesRequest.Builder,SubmitAttachmentStateChangesRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- SubmitAttachmentStateChangesRequest
public static interface SubmitAttachmentStateChangesRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<SubmitAttachmentStateChangesRequest.Builder,SubmitAttachmentStateChangesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubmitAttachmentStateChangesRequest.Builder
attachments(Collection<AttachmentStateChange> attachments)
Any attachments associated with the state change request.SubmitAttachmentStateChangesRequest.Builder
attachments(Consumer<AttachmentStateChange.Builder>... attachments)
Any attachments associated with the state change request.SubmitAttachmentStateChangesRequest.Builder
attachments(AttachmentStateChange... attachments)
Any attachments associated with the state change request.SubmitAttachmentStateChangesRequest.Builder
cluster(String cluster)
The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.SubmitAttachmentStateChangesRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
SubmitAttachmentStateChangesRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
cluster
SubmitAttachmentStateChangesRequest.Builder cluster(String 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
SubmitAttachmentStateChangesRequest.Builder attachments(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
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.Builder
avoiding the need to create one manually viaAttachmentStateChange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#attachments(List
.) - 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:
#attachments(java.util.Collection
)
-
overrideConfiguration
SubmitAttachmentStateChangesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
SubmitAttachmentStateChangesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-