@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTaskDefinitionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTaskDefinitionResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTaskDefinitionResult |
clone() |
boolean |
equals(Object obj) |
List<Tag> |
getTags()
The metadata that is applied to the task definition to help you categorize and organize them.
|
TaskDefinition |
getTaskDefinition()
The full task definition description.
|
int |
hashCode() |
void |
setTags(Collection<Tag> tags)
The metadata that is applied to the task definition to help you categorize and organize them.
|
void |
setTaskDefinition(TaskDefinition taskDefinition)
The full task definition description.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTaskDefinitionResult |
withTags(Collection<Tag> tags)
The metadata that is applied to the task definition to help you categorize and organize them.
|
DescribeTaskDefinitionResult |
withTags(Tag... tags)
The metadata that is applied to the task definition to help you categorize and organize them.
|
DescribeTaskDefinitionResult |
withTaskDefinition(TaskDefinition taskDefinition)
The full task definition description.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTaskDefinition(TaskDefinition taskDefinition)
The full task definition description.
taskDefinition
- The full task definition description.public TaskDefinition getTaskDefinition()
The full task definition description.
public DescribeTaskDefinitionResult withTaskDefinition(TaskDefinition taskDefinition)
The full task definition description.
taskDefinition
- The full task definition description.public List<Tag> getTags()
The metadata that is applied to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
public void setTags(Collection<Tag> tags)
The metadata that is applied to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The metadata that is applied to the task definition to help you categorize and organize them. Each tag
consists of a key and an optional value, both of which you define. Tag keys can have a maximum character
length of 128 characters, and tag values can have a maximum length of 256 characters.public DescribeTaskDefinitionResult withTags(Tag... tags)
The metadata that is applied to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The metadata that is applied to the task definition to help you categorize and organize them. Each tag
consists of a key and an optional value, both of which you define. Tag keys can have a maximum character
length of 128 characters, and tag values can have a maximum length of 256 characters.public DescribeTaskDefinitionResult withTags(Collection<Tag> tags)
The metadata that is applied to the task definition to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The metadata that is applied to the task definition to help you categorize and organize them. Each tag
consists of a key and an optional value, both of which you define. Tag keys can have a maximum character
length of 128 characters, and tag values can have a maximum length of 256 characters.public String toString()
toString
in class Object
Object.toString()
public DescribeTaskDefinitionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.