public class DeregisterContainerInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeregisterContainerInstance operation.
Deregisters an Amazon ECS container instance from the specified cluster. This instance will no longer be available to run tasks.
NOOP| Constructor and Description |
|---|
DeregisterContainerInstanceRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeregisterContainerInstanceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the container instance you want to deregister.
|
String |
getContainerInstance()
The container instance UUID or full Amazon Resource Name (ARN) of the
container instance you want to deregister.
|
Boolean |
getForce()
Force the deregistration of the container instance.
|
int |
hashCode() |
Boolean |
isForce()
Force the deregistration of the container instance.
|
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the container instance you want to deregister.
|
void |
setContainerInstance(String containerInstance)
The container instance UUID or full Amazon Resource Name (ARN) of the
container instance you want to deregister.
|
void |
setForce(Boolean force)
Force the deregistration of the container instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeregisterContainerInstanceRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the container instance you want to deregister.
|
DeregisterContainerInstanceRequest |
withContainerInstance(String containerInstance)
The container instance UUID or full Amazon Resource Name (ARN) of the
container instance you want to deregister.
|
DeregisterContainerInstanceRequest |
withForce(Boolean force)
Force the deregistration of the container instance.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getCluster()
public void setCluster(String cluster)
cluster - The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the container instance you want to deregister. If you do not
specify a cluster, the default cluster is assumed.public DeregisterContainerInstanceRequest 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
hosts the container instance you want to deregister. If you do not
specify a cluster, the default cluster is assumed.public String getContainerInstance()
arn:aws:ecs namespace, followed by the region of the
container instance, the AWS account ID of the container instance
owner, the container-instance namespace, and then the
container instance UUID. For example,
arn:aws:ecs:region:aws_account_id:container-instance/container_instance_UUID.arn:aws:ecs namespace, followed by the region of the
container instance, the AWS account ID of the container instance
owner, the container-instance namespace, and then the
container instance UUID. For example,
arn:aws:ecs:region:aws_account_id:container-instance/container_instance_UUID.public void setContainerInstance(String containerInstance)
arn:aws:ecs namespace, followed by the region of the
container instance, the AWS account ID of the container instance
owner, the container-instance namespace, and then the
container instance UUID. For example,
arn:aws:ecs:region:aws_account_id:container-instance/container_instance_UUID.containerInstance - The container instance UUID or full Amazon Resource Name (ARN) of the
container instance you want to deregister. The ARN contains the
arn:aws:ecs namespace, followed by the region of the
container instance, the AWS account ID of the container instance
owner, the container-instance namespace, and then the
container instance UUID. For example,
arn:aws:ecs:region:aws_account_id:container-instance/container_instance_UUID.public DeregisterContainerInstanceRequest withContainerInstance(String containerInstance)
arn:aws:ecs namespace, followed by the region of the
container instance, the AWS account ID of the container instance
owner, the container-instance namespace, and then the
container instance UUID. For example,
arn:aws:ecs:region:aws_account_id:container-instance/container_instance_UUID.
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) of the
container instance you want to deregister. The ARN contains the
arn:aws:ecs namespace, followed by the region of the
container instance, the AWS account ID of the container instance
owner, the container-instance namespace, and then the
container instance UUID. For example,
arn:aws:ecs:region:aws_account_id:container-instance/container_instance_UUID.public Boolean isForce()
force parameter if you have several tasks running on a
container instance and you don't want to run StopTask for
each task before deregistering the container instance.force parameter if you have several tasks running on a
container instance and you don't want to run StopTask for
each task before deregistering the container instance.public void setForce(Boolean force)
force parameter if you have several tasks running on a
container instance and you don't want to run StopTask for
each task before deregistering the container instance.force - Force the deregistration of the container instance. You can use the
force parameter if you have several tasks running on a
container instance and you don't want to run StopTask for
each task before deregistering the container instance.public DeregisterContainerInstanceRequest withForce(Boolean force)
force parameter if you have several tasks running on a
container instance and you don't want to run StopTask for
each task before deregistering the container instance.
Returns a reference to this object so that method calls can be chained together.
force - Force the deregistration of the container instance. You can use the
force parameter if you have several tasks running on a
container instance and you don't want to run StopTask for
each task before deregistering the container instance.public Boolean getForce()
force parameter if you have several tasks running on a
container instance and you don't want to run StopTask for
each task before deregistering the container instance.force parameter if you have several tasks running on a
container instance and you don't want to run StopTask for
each task before deregistering the container instance.public String toString()
toString in class ObjectObject.toString()public DeregisterContainerInstanceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.