/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.ecs.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeTaskDefinitionResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The full task definition description. *

*/ private TaskDefinition taskDefinition; /** *

* The metadata that's applied to the task definition to help you categorize and organize them. Each tag consists of * a key and an optional value. You define both. *

*

* The following basic restrictions apply to tags: *

* */ private com.amazonaws.internal.SdkInternalList tags; /** *

* The full task definition description. *

* * @param taskDefinition * The full task definition description. */ public void setTaskDefinition(TaskDefinition taskDefinition) { this.taskDefinition = taskDefinition; } /** *

* The full task definition description. *

* * @return The full task definition description. */ public TaskDefinition getTaskDefinition() { return this.taskDefinition; } /** *

* The full task definition description. *

* * @param taskDefinition * The full task definition description. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTaskDefinitionResult withTaskDefinition(TaskDefinition taskDefinition) { setTaskDefinition(taskDefinition); return this; } /** *

* The metadata that's applied to the task definition to help you categorize and organize them. Each tag consists of * a key and an optional value. You define both. *

*

* The following basic restrictions apply to tags: *

* * * @return The metadata that's applied to the task definition to help you categorize and organize them. Each tag * consists of a key and an optional value. You define both.

*

* The following basic restrictions apply to tags: *

*