@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterTaskDefinitionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RegisterTaskDefinitionResult() |
Modifier and Type | Method and Description |
---|---|
RegisterTaskDefinitionResult |
clone() |
boolean |
equals(Object obj) |
List<Tag> |
getTags()
The list of tags associated with the task definition.
|
TaskDefinition |
getTaskDefinition()
The full description of the registered task definition.
|
int |
hashCode() |
void |
setTags(Collection<Tag> tags)
The list of tags associated with the task definition.
|
void |
setTaskDefinition(TaskDefinition taskDefinition)
The full description of the registered task definition.
|
String |
toString()
Returns a string representation of this object.
|
RegisterTaskDefinitionResult |
withTags(Collection<Tag> tags)
The list of tags associated with the task definition.
|
RegisterTaskDefinitionResult |
withTags(Tag... tags)
The list of tags associated with the task definition.
|
RegisterTaskDefinitionResult |
withTaskDefinition(TaskDefinition taskDefinition)
The full description of the registered task definition.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTaskDefinition(TaskDefinition taskDefinition)
The full description of the registered task definition.
taskDefinition
- The full description of the registered task definition.public TaskDefinition getTaskDefinition()
The full description of the registered task definition.
public RegisterTaskDefinitionResult withTaskDefinition(TaskDefinition taskDefinition)
The full description of the registered task definition.
taskDefinition
- The full description of the registered task definition.public List<Tag> getTags()
The list of tags associated with the task definition.
public void setTags(Collection<Tag> tags)
The list of tags associated with the task definition.
tags
- The list of tags associated with the task definition.public RegisterTaskDefinitionResult withTags(Tag... tags)
The list of tags associated with the task definition.
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 list of tags associated with the task definition.public RegisterTaskDefinitionResult withTags(Collection<Tag> tags)
The list of tags associated with the task definition.
tags
- The list of tags associated with the task definition.public String toString()
toString
in class Object
Object.toString()
public RegisterTaskDefinitionResult clone()