public class UpdateContainerAgentRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cluster
The short name or full Amazon Resource Name (ARN) of the cluster that
your container instance is running on.
|
private java.lang.String |
containerInstance
The container instance ID or full Amazon Resource Name (ARN) entries for
the container instance on which you would like to update the Amazon ECS
container agent.
|
NOOP
Constructor and Description |
---|
UpdateContainerAgentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateContainerAgentRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that
your container instance is running on.
|
java.lang.String |
getContainerInstance()
The container instance ID or full Amazon Resource Name (ARN) entries for
the container instance on which you would like to update the Amazon ECS
container agent.
|
int |
hashCode() |
void |
setCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
your container instance is running on.
|
void |
setContainerInstance(java.lang.String containerInstance)
The container instance ID or full Amazon Resource Name (ARN) entries for
the container instance on which you would like to update the Amazon ECS
container agent.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateContainerAgentRequest |
withCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
your container instance is running on.
|
UpdateContainerAgentRequest |
withContainerInstance(java.lang.String containerInstance)
The container instance ID or full Amazon Resource Name (ARN) entries for
the container instance on which you would like to update the Amazon ECS
container agent.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String cluster
The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.
private java.lang.String containerInstance
The container instance ID or full Amazon Resource Name (ARN) entries for the container instance on which you would like to update the Amazon ECS container agent.
public void setCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster
that your container instance is running on. If you do not specify
a cluster, the default cluster is assumed.public java.lang.String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.
public UpdateContainerAgentRequest withCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster
that your container instance is running on. If you do not specify
a cluster, the default cluster is assumed.public void setContainerInstance(java.lang.String containerInstance)
The container instance ID or full Amazon Resource Name (ARN) entries for the container instance on which you would like to update the Amazon ECS container agent.
containerInstance
- The container instance ID or full Amazon Resource Name (ARN)
entries for the container instance on which you would like to
update the Amazon ECS container agent.public java.lang.String getContainerInstance()
The container instance ID or full Amazon Resource Name (ARN) entries for the container instance on which you would like to update the Amazon ECS container agent.
public UpdateContainerAgentRequest withContainerInstance(java.lang.String containerInstance)
The container instance ID or full Amazon Resource Name (ARN) entries for the container instance on which you would like to update the Amazon ECS container agent.
containerInstance
- The container instance ID or full Amazon Resource Name (ARN)
entries for the container instance on which you would like to
update the Amazon ECS container agent.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateContainerAgentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()