code: public UpdateUserPoolClientRequest withAllowedOAuthFlows(String... allowedOAuthFlows) {
          if (this.allowedOAuthFlows == null) {
              setAllowedOAuthFlows(new java.util.ArrayList<String>(allowedOAuthFlows.length));
          }
          for (String ele : allowedOAuthFlows) {
              this.allowedOAuthFlows.add(ele);
          }
          return this;
      }
docs: <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>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAllowedOAuthFlows(java.util.Collection)} or {@link #withAllowedOAuthFlows(java.util.Collection)} if
  you want to override the existing values.
  </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