Interface SubmitTaskStateChangeRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<SubmitTaskStateChangeRequest.Builder,,- SubmitTaskStateChangeRequest> - EcsRequest.Builder,- SdkBuilder<SubmitTaskStateChangeRequest.Builder,,- SubmitTaskStateChangeRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- SubmitTaskStateChangeRequest
- 
Method SummaryModifier 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 Amazon Resource Name (ARN) of the cluster that hosts the task.containers(Collection<ContainerStateChange> containers) Any containers that's associated with the state change request.containers(Consumer<ContainerStateChange.Builder>... containers) Any containers that's associated with the state change request.containers(ContainerStateChange... containers) Any containers that's associated with the state change request.executionStoppedAt(Instant executionStoppedAt) The Unix timestamp for the time when the task execution stopped.managedAgents(Collection<ManagedAgentStateChange> managedAgents) The details for the managed agent that's associated with the task.managedAgents(Consumer<ManagedAgentStateChange.Builder>... managedAgents) The details for the managed agent that's associated with the task.managedAgents(ManagedAgentStateChange... managedAgents) The details for the managed agent that's associated with the task.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pullStartedAt(Instant pullStartedAt) The Unix timestamp for the time when the container image pull started.pullStoppedAt(Instant pullStoppedAt) The Unix timestamp for the time when the container image pull completed.The reason for the state change request.The status of the state change request.The task ID or full ARN of the task in the state change request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
clusterThe 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.
 
- 
taskThe 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.
 
- 
statusThe 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.
 
- 
reasonThe 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.
 
- 
containersAny 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.
 
- 
containersAny 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.
 
- 
containersSubmitTaskStateChangeRequest.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 tocontainers(List<ContainerStateChange>).- Parameters:
- containers- a consumer that will call methods on- ContainerStateChange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
attachmentsAny 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.
 
- 
attachmentsAny 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.
 
- 
attachmentsSubmitTaskStateChangeRequest.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 on- AttachmentStateChange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
managedAgentsSubmitTaskStateChangeRequest.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.
 
- 
managedAgentsThe 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.
 
- 
managedAgentsSubmitTaskStateChangeRequest.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 tomanagedAgents(List<ManagedAgentStateChange>).- Parameters:
- managedAgents- a consumer that will call methods on- ManagedAgentStateChange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
pullStartedAtThe 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.
 
- 
pullStoppedAtThe 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.
 
- 
executionStoppedAtThe 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.
 
- 
overrideConfigurationSubmitTaskStateChangeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationSubmitTaskStateChangeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-