code: public CreateIdentityPoolResult withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders) {
          if (this.cognitoIdentityProviders == null) {
              setCognitoIdentityProviders(new java.util.ArrayList<CognitoIdentityProvider>(cognitoIdentityProviders.length));
          }
          for (CognitoIdentityProvider ele : cognitoIdentityProviders) {
              this.cognitoIdentityProviders.add(ele);
          }
          return this;
      }
docs: <p>
  A list representing an Amazon Cognito user pool and its client ID.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCognitoIdentityProviders(java.util.Collection)} or
  {@link #withCognitoIdentityProviders(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param cognitoIdentityProviders
  A list representing an Amazon Cognito user pool and its client ID.
  @return Returns a reference to this object so that method calls can be chained together.