Interface SubmitTaskStateChangeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SubmitTaskStateChangeRequest.Builder,SubmitTaskStateChangeRequest>,EcsRequest.Builder,SdkBuilder<SubmitTaskStateChangeRequest.Builder,SubmitTaskStateChangeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SubmitTaskStateChangeRequest
public static interface SubmitTaskStateChangeRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<SubmitTaskStateChangeRequest.Builder,SubmitTaskStateChangeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubmitTaskStateChangeRequest.Builderattachments(Collection<AttachmentStateChange> attachments)Any attachments associated with the state change request.SubmitTaskStateChangeRequest.Builderattachments(Consumer<AttachmentStateChange.Builder>... attachments)Any attachments associated with the state change request.SubmitTaskStateChangeRequest.Builderattachments(AttachmentStateChange... attachments)Any attachments associated with the state change request.SubmitTaskStateChangeRequest.Buildercluster(String cluster)The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.SubmitTaskStateChangeRequest.Buildercontainers(Collection<ContainerStateChange> containers)Any containers that's associated with the state change request.SubmitTaskStateChangeRequest.Buildercontainers(Consumer<ContainerStateChange.Builder>... containers)Any containers that's associated with the state change request.SubmitTaskStateChangeRequest.Buildercontainers(ContainerStateChange... containers)Any containers that's associated with the state change request.SubmitTaskStateChangeRequest.BuilderexecutionStoppedAt(Instant executionStoppedAt)The Unix timestamp for the time when the task execution stopped.SubmitTaskStateChangeRequest.BuildermanagedAgents(Collection<ManagedAgentStateChange> managedAgents)The details for the managed agent that's associated with the task.SubmitTaskStateChangeRequest.BuildermanagedAgents(Consumer<ManagedAgentStateChange.Builder>... managedAgents)The details for the managed agent that's associated with the task.SubmitTaskStateChangeRequest.BuildermanagedAgents(ManagedAgentStateChange... managedAgents)The details for the managed agent that's associated with the task.SubmitTaskStateChangeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SubmitTaskStateChangeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SubmitTaskStateChangeRequest.BuilderpullStartedAt(Instant pullStartedAt)The Unix timestamp for the time when the container image pull started.SubmitTaskStateChangeRequest.BuilderpullStoppedAt(Instant pullStoppedAt)The Unix timestamp for the time when the container image pull completed.SubmitTaskStateChangeRequest.Builderreason(String reason)The reason for the state change request.SubmitTaskStateChangeRequest.Builderstatus(String status)The status of the state change request.SubmitTaskStateChangeRequest.Buildertask(String task)The task ID or full ARN of the task in the state change request.-
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
SubmitTaskStateChangeRequest.Builder cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
- Parameters:
cluster- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
task
SubmitTaskStateChangeRequest.Builder task(String task)
The task ID or full ARN of the task in the state change request.
- Parameters:
task- The task ID or full ARN of the task in the state change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
SubmitTaskStateChangeRequest.Builder status(String status)
The status of the state change request.
- Parameters:
status- The status of the state change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
SubmitTaskStateChangeRequest.Builder reason(String reason)
The reason for the state change request.
- Parameters:
reason- The reason for the state change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
SubmitTaskStateChangeRequest.Builder containers(Collection<ContainerStateChange> containers)
Any containers that's associated with the state change request.
- Parameters:
containers- Any containers that's associated with the state change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
SubmitTaskStateChangeRequest.Builder containers(ContainerStateChange... containers)
Any containers that's associated with the state change request.
- Parameters:
containers- Any containers that's associated with the state change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
SubmitTaskStateChangeRequest.Builder containers(Consumer<ContainerStateChange.Builder>... containers)
Any containers that's associated with the state change request.
This is a convenience method that creates an instance of theContainerStateChange.Builderavoiding the need to create one manually viaContainerStateChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#containers(List.) - Parameters:
containers- a consumer that will call methods onContainerStateChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#containers(java.util.Collection)
-
attachments
SubmitTaskStateChangeRequest.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
SubmitTaskStateChangeRequest.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
SubmitTaskStateChangeRequest.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 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)
-
managedAgents
SubmitTaskStateChangeRequest.Builder managedAgents(Collection<ManagedAgentStateChange> managedAgents)
The details for the managed agent that's associated with the task.
- Parameters:
managedAgents- The details for the managed agent that's associated with the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedAgents
SubmitTaskStateChangeRequest.Builder managedAgents(ManagedAgentStateChange... managedAgents)
The details for the managed agent that's associated with the task.
- Parameters:
managedAgents- The details for the managed agent that's associated with the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedAgents
SubmitTaskStateChangeRequest.Builder managedAgents(Consumer<ManagedAgentStateChange.Builder>... managedAgents)
The details for the managed agent that's associated with the task.
This is a convenience method that creates an instance of theManagedAgentStateChange.Builderavoiding the need to create one manually viaManagedAgentStateChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#managedAgents(List.) - Parameters:
managedAgents- a consumer that will call methods onManagedAgentStateChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#managedAgents(java.util.Collection)
-
pullStartedAt
SubmitTaskStateChangeRequest.Builder pullStartedAt(Instant pullStartedAt)
The Unix timestamp for the time when the container image pull started.
- Parameters:
pullStartedAt- The Unix timestamp for the time when the container image pull started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullStoppedAt
SubmitTaskStateChangeRequest.Builder pullStoppedAt(Instant pullStoppedAt)
The Unix timestamp for the time when the container image pull completed.
- Parameters:
pullStoppedAt- The Unix timestamp for the time when the container image pull completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionStoppedAt
SubmitTaskStateChangeRequest.Builder executionStoppedAt(Instant executionStoppedAt)
The Unix timestamp for the time when the task execution stopped.
- Parameters:
executionStoppedAt- The Unix timestamp for the time when the task execution stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SubmitTaskStateChangeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SubmitTaskStateChangeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-