public class UpdateContainerAgentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateContainerAgent operation
.
Updates the Amazon ECS container agent on a specified container instance.
NOOP
Constructor and Description |
---|
UpdateContainerAgentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateContainerAgentRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that
your container instance is running on.
|
String |
getContainerInstance()
The container instance UUID 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(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
your container instance is running on.
|
void |
setContainerInstance(String containerInstance)
The container instance UUID or full Amazon Resource Name (ARN) entries
for the container instance on which you would like to update the
Amazon ECS container agent.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateContainerAgentRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
your container instance is running on.
|
UpdateContainerAgentRequest |
withContainerInstance(String containerInstance)
The container instance UUID or full Amazon Resource Name (ARN) entries
for the container instance on which you would like to update the
Amazon ECS container agent.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getCluster()
public void setCluster(String cluster)
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 UpdateContainerAgentRequest withCluster(String cluster)
Returns a reference to this object so that method calls can be chained together.
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 String getContainerInstance()
public void setContainerInstance(String containerInstance)
containerInstance
- The container instance UUID 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(String containerInstance)
Returns a reference to this object so that method calls can be chained together.
containerInstance
- The container instance UUID or full Amazon Resource Name (ARN) entries
for the container instance on which you would like to update the
Amazon ECS container agent.public String toString()
toString
in class Object
Object.toString()
public UpdateContainerAgentRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.