public class DescribeTaskDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeTaskDefinition operation
.
Describes a task definition. You can specify a family
and
revision
to find information on a specific task
definition, or you can simply specify the family to find the latest
ACTIVE
revision in that family.
NOTE: You can only describe INACTIVE task definitions while an active task or service references them.
NOOP
Constructor and Description |
---|
DescribeTaskDefinitionRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTaskDefinitionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getTaskDefinition()
The
family for the latest ACTIVE revision,
family and revision
(family:revision ) for a specific revision in the family,
or full Amazon Resource Name (ARN) of the task definition that you
want to describe. |
int |
hashCode() |
void |
setTaskDefinition(String taskDefinition)
The
family for the latest ACTIVE revision,
family and revision
(family:revision ) for a specific revision in the family,
or full Amazon Resource Name (ARN) of the task definition that you
want to describe. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTaskDefinitionRequest |
withTaskDefinition(String taskDefinition)
The
family for the latest ACTIVE revision,
family and revision
(family:revision ) for a specific revision in the family,
or full Amazon Resource Name (ARN) of the task definition that you
want to describe. |
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getTaskDefinition()
family
for the latest ACTIVE
revision,
family
and revision
(family:revision
) for a specific revision in the family,
or full Amazon Resource Name (ARN) of the task definition that you
want to describe.family
for the latest ACTIVE
revision,
family
and revision
(family:revision
) for a specific revision in the family,
or full Amazon Resource Name (ARN) of the task definition that you
want to describe.public void setTaskDefinition(String taskDefinition)
family
for the latest ACTIVE
revision,
family
and revision
(family:revision
) for a specific revision in the family,
or full Amazon Resource Name (ARN) of the task definition that you
want to describe.taskDefinition
- The family
for the latest ACTIVE
revision,
family
and revision
(family:revision
) for a specific revision in the family,
or full Amazon Resource Name (ARN) of the task definition that you
want to describe.public DescribeTaskDefinitionRequest withTaskDefinition(String taskDefinition)
family
for the latest ACTIVE
revision,
family
and revision
(family:revision
) for a specific revision in the family,
or full Amazon Resource Name (ARN) of the task definition that you
want to describe.
Returns a reference to this object so that method calls can be chained together.
taskDefinition
- The family
for the latest ACTIVE
revision,
family
and revision
(family:revision
) for a specific revision in the family,
or full Amazon Resource Name (ARN) of the task definition that you
want to describe.public String toString()
toString
in class Object
Object.toString()
public DescribeTaskDefinitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.