public ParticipantTokenConfiguration withCapabilities(java.util.Collection<String> capabilities) {
        setCapabilities(capabilities);
        return this;
    }
<p>
Set of capabilities that the user is allowed to perform in the stage.
</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