public UpdateBackendAuthOAuthConfig withOAuthScopes(OAuthScopesElement... oAuthScopes) {
        java.util.ArrayList<String> oAuthScopesCopy = new java.util.ArrayList<String>(oAuthScopes.length);
        for (OAuthScopesElement value : oAuthScopes) {
            oAuthScopesCopy.add(value.toString());
        }
        if (getOAuthScopes() == null) {
            setOAuthScopes(oAuthScopesCopy);
        } else {
            getOAuthScopes().addAll(oAuthScopesCopy);
        }
        return this;
    }
<p>
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
</p>

@param oAuthScopes
       The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
@return Returns a reference to this object so that method calls can be chained together.
@see OAuthScopesElement
aws-java-sdk-amplifybackend/src/main/java/com/amazonaws/services/amplifybackend/model/UpdateBackendAuthOAuthConfig.java