@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() |
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 String cluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
public String task()
The task ID or full ARN of the task in the state change request.
public String status()
The status of the state change request.
public String reason()
The reason for the state change request.
public boolean hasContainers()
public 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 boolean hasAttachments()
public 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 Instant pullStartedAt()
The Unix timestamp for when the container image pull began.
public Instant pullStoppedAt()
The Unix timestamp for when the container image pull completed.
public 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.