@Generated(value="software.amazon.awssdk:codegen") public final class SubmitTaskStateChangeRequest extends EcsRequest implements ToCopyableBuilder<SubmitTaskStateChangeRequest.Builder,SubmitTaskStateChangeRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SubmitTaskStateChangeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AttachmentStateChange> |
attachments()
Any attachments associated with the state change request.
|
static SubmitTaskStateChangeRequest.Builder |
builder() |
String |
cluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
|
List<ContainerStateChange> |
containers()
Any containers associated with the state change request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
executionStoppedAt()
The Unix timestamp for when the task execution stopped.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttachments()
Returns true if the Attachments property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasContainers()
Returns true if the Containers property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasManagedAgents()
Returns true if the ManagedAgents property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<ManagedAgentStateChange> |
managedAgents()
The details for the managed agent associated with the task.
|
Instant |
pullStartedAt()
The Unix timestamp for when the container image pull began.
|
Instant |
pullStoppedAt()
The Unix timestamp for when the container image pull completed.
|
String |
reason()
The reason for the state change request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SubmitTaskStateChangeRequest.Builder> |
serializableBuilderClass() |
String |
status()
The status of the state change request.
|
String |
task()
The task ID or full ARN of the task in the state change request.
|
SubmitTaskStateChangeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String cluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
public final String task()
The task ID or full ARN of the task in the state change request.
public final String status()
The status of the state change request.
public final String reason()
The reason for the state change request.
public final boolean hasContainers()
public final List<ContainerStateChange> containers()
Any containers associated with the state change request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasContainers() to see if a value was sent in this field.
public final boolean hasAttachments()
public final List<AttachmentStateChange> attachments()
Any attachments associated with the state change request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAttachments() to see if a value was sent in this field.
public final boolean hasManagedAgents()
public final List<ManagedAgentStateChange> managedAgents()
The details for the managed agent associated with the task.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasManagedAgents() to see if a value was sent in this field.
public final Instant pullStartedAt()
The Unix timestamp for when the container image pull began.
public final Instant pullStoppedAt()
The Unix timestamp for when the container image pull completed.
public final Instant executionStoppedAt()
The Unix timestamp for when the task execution stopped.
public SubmitTaskStateChangeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SubmitTaskStateChangeRequest.Builder,SubmitTaskStateChangeRequest>toBuilder in class EcsRequestpublic static SubmitTaskStateChangeRequest.Builder builder()
public static Class<? extends SubmitTaskStateChangeRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.