public UpdateBackendAuthOAuthConfig withOAuthScopes(String... oAuthScopes) {
        if (this.oAuthScopes == null) {
            setOAuthScopes(new java.util.ArrayList<String>(oAuthScopes.length));
        }
        for (String ele : oAuthScopes) {
            this.oAuthScopes.add(ele);
        }
        return this;
    }
<p>
The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOAuthScopes(java.util.Collection)} or {@link #withOAuthScopes(java.util.Collection)} if you want to
override the existing values.
</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