public ParticipantTokenConfiguration withCapabilities(String... capabilities) {
        if (this.capabilities == null) {
            setCapabilities(new java.util.ArrayList<String>(capabilities.length));
        }
        for (String ele : capabilities) {
            this.capabilities.add(ele);
        }
        return this;
    }
<p>
Set of capabilities that the user is allowed to perform in the stage.
</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
       Set of capabilities that the user is allowed to perform in the stage.
@return Returns a reference to this object so that method calls can be chained together.
@see ParticipantTokenCapability
aws-java-sdk-ivsrealtime/src/main/java/com/amazonaws/services/ivsrealtime/model/ParticipantTokenConfiguration.java