public GetQAppResult withRequiredCapabilities(AppRequiredCapability... requiredCapabilities) {
        java.util.ArrayList<String> requiredCapabilitiesCopy = new java.util.ArrayList<String>(requiredCapabilities.length);
        for (AppRequiredCapability value : requiredCapabilities) {
            requiredCapabilitiesCopy.add(value.toString());
        }
        if (getRequiredCapabilities() == null) {
            setRequiredCapabilities(requiredCapabilitiesCopy);
        } else {
            getRequiredCapabilities().addAll(requiredCapabilitiesCopy);
        }
        return this;
    }
<p>
The capabilities required to run the Q App, such as file upload or third-party integrations.
</p>

@param requiredCapabilities
       The capabilities required to run the Q App, such as file upload or third-party integrations.
@return Returns a reference to this object so that method calls can be chained together.
@see AppRequiredCapability
aws-java-sdk-qapps/src/main/java/com/amazonaws/services/qapps/model/GetQAppResult.java