public class DeregisterTaskDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeregisterTaskDefinition operation
.
Deregisters the specified task definition by family and revision. Upon
deregistration, the task definition is marked as INACTIVE
. Existing tasks and services that reference an INACTIVE
task definition continue to run without disruption. Existing services
that reference an INACTIVE
task definition can still
scale up or down by modifying the service's desired count.
You cannot use an INACTIVE
task definition to run new
tasks or create new services, and you cannot update an existing
service to reference an INACTIVE
task definition
(although there may be up to a 10 minute window following
deregistration where these restrictions have not yet taken effect).
NOOP
Constructor and Description |
---|
DeregisterTaskDefinitionRequest() |
Modifier and Type | Method and Description |
---|---|
DeregisterTaskDefinitionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getTaskDefinition()
The
family and revision
(family:revision ) or full Amazon Resource Name (ARN) of
the task definition that you want to deregister. |
int |
hashCode() |
void |
setTaskDefinition(String taskDefinition)
The
family and revision
(family:revision ) or full Amazon Resource Name (ARN) of
the task definition that you want to deregister. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeregisterTaskDefinitionRequest |
withTaskDefinition(String taskDefinition)
The
family and revision
(family:revision ) or full Amazon Resource Name (ARN) of
the task definition that you want to deregister. |
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getTaskDefinition()
family
and revision
(family:revision
) or full Amazon Resource Name (ARN) of
the task definition that you want to deregister. You must specify a
revision
.family
and revision
(family:revision
) or full Amazon Resource Name (ARN) of
the task definition that you want to deregister. You must specify a
revision
.public void setTaskDefinition(String taskDefinition)
family
and revision
(family:revision
) or full Amazon Resource Name (ARN) of
the task definition that you want to deregister. You must specify a
revision
.taskDefinition
- The family
and revision
(family:revision
) or full Amazon Resource Name (ARN) of
the task definition that you want to deregister. You must specify a
revision
.public DeregisterTaskDefinitionRequest withTaskDefinition(String taskDefinition)
family
and revision
(family:revision
) or full Amazon Resource Name (ARN) of
the task definition that you want to deregister. You must specify a
revision
.
Returns a reference to this object so that method calls can be chained together.
taskDefinition
- The family
and revision
(family:revision
) or full Amazon Resource Name (ARN) of
the task definition that you want to deregister. You must specify a
revision
.public String toString()
toString
in class Object
Object.toString()
public DeregisterTaskDefinitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.