public UpdateProxySessionRequest withCapabilities(Capability... capabilities) {
        java.util.ArrayList<String> capabilitiesCopy = new java.util.ArrayList<String>(capabilities.length);
        for (Capability value : capabilities) {
            capabilitiesCopy.add(value.toString());
        }
        if (getCapabilities() == null) {
            setCapabilities(capabilitiesCopy);
        } else {
            getCapabilities().addAll(capabilitiesCopy);
        }
        return this;
    }
<p>
The proxy session capabilities.
</p>

@param capabilities
       The proxy session capabilities.
@return Returns a reference to this object so that method calls can be chained together.
@see Capability
aws-java-sdk-chimesdkvoice/src/main/java/com/amazonaws/services/chimesdkvoice/model/UpdateProxySessionRequest.java