public DescribeChangeSetResult withCapabilities(String... capabilities) {
        if (this.capabilities == null) {
            setCapabilities(new com.amazonaws.internal.SdkInternalList<String>(capabilities.length));
        }
        for (String ele : capabilities) {
            this.capabilities.add(ele);
        }
        return this;
    }
<p>
If you execute the change set, the list of capabilities that were explicitly acknowledged when the change set was
created.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCapabilities(java.util.Collection)} or {@link #withCapabilities(java.util.Collection)} if you want to
override the existing values.
</p>

@param capabilities
       If you execute the change set, the list of capabilities that were explicitly acknowledged when the change
       set was created.
@return Returns a reference to this object so that method calls can be chained together.
@see Capability
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/DescribeChangeSetResult.java