public CreateContainerGroupDefinitionRequest withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
A list of labels to assign to the container group definition resource. Tags are developer-defined key-value
pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost
allocation. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">
Tagging Amazon Web Services Resources</a> in the <i>Amazon Web Services General Reference</i>.
</p>

@param tags
       A list of labels to assign to the container group definition resource. Tags are developer-defined
       key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access
       management and cost allocation. For more information, see <a
       href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html"> Tagging Amazon Web Services
       Resources</a> in the <i>Amazon Web Services General Reference</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/CreateContainerGroupDefinitionRequest.java