public ContainerGroupsConfiguration withContainerGroupDefinitionNames(String... containerGroupDefinitionNames) {
        if (this.containerGroupDefinitionNames == null) {
            setContainerGroupDefinitionNames(new java.util.ArrayList<String>(containerGroupDefinitionNames.length));
        }
        for (String ele : containerGroupDefinitionNames) {
            this.containerGroupDefinitionNames.add(ele);
        }
        return this;
    }
<p>
The list of container group definition names to deploy to a new container fleet.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setContainerGroupDefinitionNames(java.util.Collection)} or
{@link #withContainerGroupDefinitionNames(java.util.Collection)} if you want to override the existing values.
</p>

@param containerGroupDefinitionNames
       The list of container group definition names to deploy to a new container fleet.
@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/ContainerGroupsConfiguration.java