@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubmitTaskStateChangeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SubmitTaskStateChangeRequest() |
Modifier and Type | Method and Description |
---|---|
SubmitTaskStateChangeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<AttachmentStateChange> |
getAttachments()
Any attachments associated with the state change request.
|
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
|
List<ContainerStateChange> |
getContainers()
Any containers associated with the state change request.
|
Date |
getExecutionStoppedAt()
The Unix timestamp for when the task execution stopped.
|
Date |
getPullStartedAt()
The Unix timestamp for when the container image pull began.
|
Date |
getPullStoppedAt()
The Unix timestamp for when the container image pull completed.
|
String |
getReason()
The reason for the state change request.
|
String |
getStatus()
The status of the state change request.
|
String |
getTask()
The task ID or full ARN of the task in the state change request.
|
int |
hashCode() |
void |
setAttachments(Collection<AttachmentStateChange> attachments)
Any attachments associated with the state change request.
|
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
|
void |
setContainers(Collection<ContainerStateChange> containers)
Any containers associated with the state change request.
|
void |
setExecutionStoppedAt(Date executionStoppedAt)
The Unix timestamp for when the task execution stopped.
|
void |
setPullStartedAt(Date pullStartedAt)
The Unix timestamp for when the container image pull began.
|
void |
setPullStoppedAt(Date pullStoppedAt)
The Unix timestamp for when the container image pull completed.
|
void |
setReason(String reason)
The reason for the state change request.
|
void |
setStatus(String status)
The status of the state change request.
|
void |
setTask(String task)
The task ID or full ARN of the task in the state change request.
|
String |
toString()
Returns a string representation of this object.
|
SubmitTaskStateChangeRequest |
withAttachments(AttachmentStateChange... attachments)
Any attachments associated with the state change request.
|
SubmitTaskStateChangeRequest |
withAttachments(Collection<AttachmentStateChange> attachments)
Any attachments associated with the state change request.
|
SubmitTaskStateChangeRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
|
SubmitTaskStateChangeRequest |
withContainers(Collection<ContainerStateChange> containers)
Any containers associated with the state change request.
|
SubmitTaskStateChangeRequest |
withContainers(ContainerStateChange... containers)
Any containers associated with the state change request.
|
SubmitTaskStateChangeRequest |
withExecutionStoppedAt(Date executionStoppedAt)
The Unix timestamp for when the task execution stopped.
|
SubmitTaskStateChangeRequest |
withPullStartedAt(Date pullStartedAt)
The Unix timestamp for when the container image pull began.
|
SubmitTaskStateChangeRequest |
withPullStoppedAt(Date pullStoppedAt)
The Unix timestamp for when the container image pull completed.
|
SubmitTaskStateChangeRequest |
withReason(String reason)
The reason for the state change request.
|
SubmitTaskStateChangeRequest |
withStatus(String status)
The status of the state change request.
|
SubmitTaskStateChangeRequest |
withTask(String task)
The task ID or full ARN of the task in the state change request.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
public SubmitTaskStateChangeRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.public void setTask(String task)
The task ID or full ARN of the task in the state change request.
task
- The task ID or full ARN of the task in the state change request.public String getTask()
The task ID or full ARN of the task in the state change request.
public SubmitTaskStateChangeRequest withTask(String task)
The task ID or full ARN of the task in the state change request.
task
- The task ID or full ARN of the task in the state change request.public void setStatus(String status)
The status of the state change request.
status
- The status of the state change request.public String getStatus()
The status of the state change request.
public SubmitTaskStateChangeRequest withStatus(String status)
The status of the state change request.
status
- The status of the state change request.public void setReason(String reason)
The reason for the state change request.
reason
- The reason for the state change request.public String getReason()
The reason for the state change request.
public SubmitTaskStateChangeRequest withReason(String reason)
The reason for the state change request.
reason
- The reason for the state change request.public List<ContainerStateChange> getContainers()
Any containers associated with the state change request.
public void setContainers(Collection<ContainerStateChange> containers)
Any containers associated with the state change request.
containers
- Any containers associated with the state change request.public SubmitTaskStateChangeRequest withContainers(ContainerStateChange... containers)
Any containers associated with the state change request.
NOTE: This method appends the values to the existing list (if any). Use
setContainers(java.util.Collection)
or withContainers(java.util.Collection)
if you want to
override the existing values.
containers
- Any containers associated with the state change request.public SubmitTaskStateChangeRequest withContainers(Collection<ContainerStateChange> containers)
Any containers associated with the state change request.
containers
- Any containers associated with the state change request.public List<AttachmentStateChange> getAttachments()
Any attachments associated with the state change request.
public void setAttachments(Collection<AttachmentStateChange> attachments)
Any attachments associated with the state change request.
attachments
- Any attachments associated with the state change request.public SubmitTaskStateChangeRequest withAttachments(AttachmentStateChange... attachments)
Any attachments associated with the state change request.
NOTE: This method appends the values to the existing list (if any). Use
setAttachments(java.util.Collection)
or withAttachments(java.util.Collection)
if you want to
override the existing values.
attachments
- Any attachments associated with the state change request.public SubmitTaskStateChangeRequest withAttachments(Collection<AttachmentStateChange> attachments)
Any attachments associated with the state change request.
attachments
- Any attachments associated with the state change request.public void setPullStartedAt(Date pullStartedAt)
The Unix timestamp for when the container image pull began.
pullStartedAt
- The Unix timestamp for when the container image pull began.public Date getPullStartedAt()
The Unix timestamp for when the container image pull began.
public SubmitTaskStateChangeRequest withPullStartedAt(Date pullStartedAt)
The Unix timestamp for when the container image pull began.
pullStartedAt
- The Unix timestamp for when the container image pull began.public void setPullStoppedAt(Date pullStoppedAt)
The Unix timestamp for when the container image pull completed.
pullStoppedAt
- The Unix timestamp for when the container image pull completed.public Date getPullStoppedAt()
The Unix timestamp for when the container image pull completed.
public SubmitTaskStateChangeRequest withPullStoppedAt(Date pullStoppedAt)
The Unix timestamp for when the container image pull completed.
pullStoppedAt
- The Unix timestamp for when the container image pull completed.public void setExecutionStoppedAt(Date executionStoppedAt)
The Unix timestamp for when the task execution stopped.
executionStoppedAt
- The Unix timestamp for when the task execution stopped.public Date getExecutionStoppedAt()
The Unix timestamp for when the task execution stopped.
public SubmitTaskStateChangeRequest withExecutionStoppedAt(Date executionStoppedAt)
The Unix timestamp for when the task execution stopped.
executionStoppedAt
- The Unix timestamp for when the task execution stopped.public String toString()
toString
in class Object
Object.toString()
public SubmitTaskStateChangeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.