@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeregisterContainerInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeregisterContainerInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
DeregisterContainerInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to deregister.
|
String |
getContainerInstance()
The container instance ID or full ARN of the container instance to deregister.
|
Boolean |
getForce()
Forces the container instance to be deregistered.
|
int |
hashCode() |
Boolean |
isForce()
Forces the container instance to be deregistered.
|
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to deregister.
|
void |
setContainerInstance(String containerInstance)
The container instance ID or full ARN of the container instance to deregister.
|
void |
setForce(Boolean force)
Forces the container instance to be deregistered.
|
String |
toString()
Returns a string representation of this object.
|
DeregisterContainerInstanceRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to deregister.
|
DeregisterContainerInstanceRequest |
withContainerInstance(String containerInstance)
The container instance ID or full ARN of the container instance to deregister.
|
DeregisterContainerInstanceRequest |
withForce(Boolean force)
Forces the container instance to be deregistered.
|
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 container instance to deregister. 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 hosts the container instance to
deregister. If you do not specify a cluster, the default cluster is assumed.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to deregister. If you do not specify a cluster, the default cluster is assumed.
public DeregisterContainerInstanceRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to deregister. 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 hosts the container instance to
deregister. If you do not specify a cluster, the default cluster is assumed.public void setContainerInstance(String containerInstance)
The container instance ID or full ARN of the container instance to deregister. For more information about the ARN format, see Amazon Resource Name (ARN) in the Amazon ECS Developer Guide.
containerInstance
- The container instance ID or full ARN of the container instance to deregister. For more information about
the ARN format, see Amazon Resource Name (ARN) in the Amazon ECS Developer Guide.public String getContainerInstance()
The container instance ID or full ARN of the container instance to deregister. For more information about the ARN format, see Amazon Resource Name (ARN) in the Amazon ECS Developer Guide.
public DeregisterContainerInstanceRequest withContainerInstance(String containerInstance)
The container instance ID or full ARN of the container instance to deregister. For more information about the ARN format, see Amazon Resource Name (ARN) in the Amazon ECS Developer Guide.
containerInstance
- The container instance ID or full ARN of the container instance to deregister. For more information about
the ARN format, see Amazon Resource Name (ARN) in the Amazon ECS Developer Guide.public void setForce(Boolean force)
Forces the container instance to be deregistered. If you have tasks running on the container instance when you
deregister it with the force
option, these tasks remain running until you terminate the instance or
the tasks stop through some other means, but they're orphaned (no longer monitored or accounted for by Amazon
ECS). If an orphaned task on your container instance is part of an Amazon ECS service, then the service scheduler
starts another copy of that task, on a different container instance if possible.
Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer target group are deregistered. They begin connection draining according to the settings on the load balancer or target group.
force
- Forces the container instance to be deregistered. If you have tasks running on the container instance when
you deregister it with the force
option, these tasks remain running until you terminate the
instance or the tasks stop through some other means, but they're orphaned (no longer monitored or
accounted for by Amazon ECS). If an orphaned task on your container instance is part of an Amazon ECS
service, then the service scheduler starts another copy of that task, on a different container instance if
possible.
Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer target group are deregistered. They begin connection draining according to the settings on the load balancer or target group.
public Boolean getForce()
Forces the container instance to be deregistered. If you have tasks running on the container instance when you
deregister it with the force
option, these tasks remain running until you terminate the instance or
the tasks stop through some other means, but they're orphaned (no longer monitored or accounted for by Amazon
ECS). If an orphaned task on your container instance is part of an Amazon ECS service, then the service scheduler
starts another copy of that task, on a different container instance if possible.
Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer target group are deregistered. They begin connection draining according to the settings on the load balancer or target group.
force
option, these tasks remain running until you terminate
the instance or the tasks stop through some other means, but they're orphaned (no longer monitored or
accounted for by Amazon ECS). If an orphaned task on your container instance is part of an Amazon ECS
service, then the service scheduler starts another copy of that task, on a different container instance
if possible.
Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer target group are deregistered. They begin connection draining according to the settings on the load balancer or target group.
public DeregisterContainerInstanceRequest withForce(Boolean force)
Forces the container instance to be deregistered. If you have tasks running on the container instance when you
deregister it with the force
option, these tasks remain running until you terminate the instance or
the tasks stop through some other means, but they're orphaned (no longer monitored or accounted for by Amazon
ECS). If an orphaned task on your container instance is part of an Amazon ECS service, then the service scheduler
starts another copy of that task, on a different container instance if possible.
Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer target group are deregistered. They begin connection draining according to the settings on the load balancer or target group.
force
- Forces the container instance to be deregistered. If you have tasks running on the container instance when
you deregister it with the force
option, these tasks remain running until you terminate the
instance or the tasks stop through some other means, but they're orphaned (no longer monitored or
accounted for by Amazon ECS). If an orphaned task on your container instance is part of an Amazon ECS
service, then the service scheduler starts another copy of that task, on a different container instance if
possible.
Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer target group are deregistered. They begin connection draining according to the settings on the load balancer or target group.
public Boolean isForce()
Forces the container instance to be deregistered. If you have tasks running on the container instance when you
deregister it with the force
option, these tasks remain running until you terminate the instance or
the tasks stop through some other means, but they're orphaned (no longer monitored or accounted for by Amazon
ECS). If an orphaned task on your container instance is part of an Amazon ECS service, then the service scheduler
starts another copy of that task, on a different container instance if possible.
Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer target group are deregistered. They begin connection draining according to the settings on the load balancer or target group.
force
option, these tasks remain running until you terminate
the instance or the tasks stop through some other means, but they're orphaned (no longer monitored or
accounted for by Amazon ECS). If an orphaned task on your container instance is part of an Amazon ECS
service, then the service scheduler starts another copy of that task, on a different container instance
if possible.
Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer target group are deregistered. They begin connection draining according to the settings on the load balancer or target group.
public String toString()
toString
in class Object
Object.toString()
public DeregisterContainerInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()