* The full description of the registered task definition. *
*/ private TaskDefinition taskDefinition; /** ** The list of tags associated with the task definition. *
*/ private com.amazonaws.internal.SdkInternalList* The full description of the registered task definition. *
* * @param taskDefinition * The full description of the registered task definition. */ public void setTaskDefinition(TaskDefinition taskDefinition) { this.taskDefinition = taskDefinition; } /** ** The full description of the registered task definition. *
* * @return The full description of the registered task definition. */ public TaskDefinition getTaskDefinition() { return this.taskDefinition; } /** ** The full description of the registered task definition. *
* * @param taskDefinition * The full description of the registered task definition. * @return Returns a reference to this object so that method calls can be chained together. */ public RegisterTaskDefinitionResult withTaskDefinition(TaskDefinition taskDefinition) { setTaskDefinition(taskDefinition); return this; } /** ** The list of tags associated with the task definition. *
* * @return The list of tags associated with the task definition. */ public java.util.List* The list of tags associated with the task definition. *
* * @param tags * The list of tags associated with the task definition. */ public void setTags(java.util.Collection* The list of tags associated with the task definition. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * The list of tags associated with the task definition. * @return Returns a reference to this object so that method calls can be chained together. */ public RegisterTaskDefinitionResult withTags(Tag... tags) { if (this.tags == null) { setTags(new com.amazonaws.internal.SdkInternalList* The list of tags associated with the task definition. *
* * @param tags * The list of tags associated with the task definition. * @return Returns a reference to this object so that method calls can be chained together. */ public RegisterTaskDefinitionResult withTags(java.util.Collection