public UpdateUserPoolClientRequest withAllowedOAuthFlows(OAuthFlowType... allowedOAuthFlows) {
        java.util.ArrayList<String> allowedOAuthFlowsCopy = new java.util.ArrayList<String>(allowedOAuthFlows.length);
        for (OAuthFlowType value : allowedOAuthFlows) {
            allowedOAuthFlowsCopy.add(value.toString());
        }
        if (getAllowedOAuthFlows() == null) {
            setAllowedOAuthFlows(allowedOAuthFlowsCopy);
        } else {
            getAllowedOAuthFlows().addAll(allowedOAuthFlowsCopy);
        }
        return this;
    }
public UpdateUserPoolClientRequest withAllowedOAuthFlows ( OAuthFlowType ... allowedOAuthFlows ) { java . util . ArrayList < String > allowedOAuthFlowsCopy = new java . util . ArrayList < String > ( allowedOAuthFlows . length ) ; for ( OAuthFlowType value : allowedOAuthFlows ) { allowedOAuthFlowsCopy . add ( value . toString ( ) ) ; } if ( getAllowedOAuthFlows ( ) == null ) { setAllowedOAuthFlows ( allowedOAuthFlowsCopy ) ; } else { getAllowedOAuthFlows ( ) . addAll ( allowedOAuthFlowsCopy ) ; } return this ; }
<p>
Set to <code>code</code> to initiate a code grant flow, which provides an authorization code as the response.
This code can be exchanged for access tokens with the token endpoint.
</p>

@param allowedOAuthFlows
Set to <code>code</code> to initiate a code grant flow, which provides an authorization code as the
response. This code can be exchanged for access tokens with the token endpoint.
@return Returns a reference to this object so that method calls can be chained together.
@see OAuthFlowType