@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubmitAttachmentStateChangesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SubmitAttachmentStateChangesRequest() |
Modifier and Type | Method and Description |
---|---|
SubmitAttachmentStateChangesRequest |
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 ARN of the cluster that hosts the container instance the attachment belongs to.
|
int |
hashCode() |
void |
setAttachments(Collection<AttachmentStateChange> attachments)
Any attachments associated with the state change request.
|
void |
setCluster(String cluster)
The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.
|
String |
toString()
Returns a string representation of this object.
|
SubmitAttachmentStateChangesRequest |
withAttachments(AttachmentStateChange... attachments)
Any attachments associated with the state change request.
|
SubmitAttachmentStateChangesRequest |
withAttachments(Collection<AttachmentStateChange> attachments)
Any attachments associated with the state change request.
|
SubmitAttachmentStateChangesRequest |
withCluster(String cluster)
The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.
|
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 ARN of the cluster that hosts the container instance the attachment belongs to.
cluster
- The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.public String getCluster()
The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.
public SubmitAttachmentStateChangesRequest withCluster(String cluster)
The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.
cluster
- The short name or full ARN of the cluster that hosts the container instance the attachment belongs to.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 SubmitAttachmentStateChangesRequest 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 SubmitAttachmentStateChangesRequest withAttachments(Collection<AttachmentStateChange> attachments)
Any attachments associated with the state change request.
attachments
- Any attachments associated with the state change request.public String toString()
toString
in class Object
Object.toString()
public SubmitAttachmentStateChangesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()