Class CognitoIdentityProvider

java.lang.Object
com.amazonaws.services.cognitoidentity.model.CognitoIdentityProvider
All Implemented Interfaces:
Serializable, Cloneable

public class CognitoIdentityProvider extends Object implements Serializable, Cloneable

A provider representing a Cognito User Identity Pool and its client ID.

See Also:
  • Constructor Details

    • CognitoIdentityProvider

      public CognitoIdentityProvider()
  • Method Details

    • setProviderName

      public void setProviderName(String providerName)

      The provider name for a Cognito User Identity Pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.

      Parameters:
      providerName - The provider name for a Cognito User Identity Pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789 .
    • getProviderName

      public String getProviderName()

      The provider name for a Cognito User Identity Pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.

      Returns:
      The provider name for a Cognito User Identity Pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789 .
    • withProviderName

      public CognitoIdentityProvider withProviderName(String providerName)

      The provider name for a Cognito User Identity Pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.

      Parameters:
      providerName - The provider name for a Cognito User Identity Pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789 .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setClientId

      public void setClientId(String clientId)

      The client ID for the Cognito User Identity Pool.

      Parameters:
      clientId - The client ID for the Cognito User Identity Pool.
    • getClientId

      public String getClientId()

      The client ID for the Cognito User Identity Pool.

      Returns:
      The client ID for the Cognito User Identity Pool.
    • withClientId

      public CognitoIdentityProvider withClientId(String clientId)

      The client ID for the Cognito User Identity Pool.

      Parameters:
      clientId - The client ID for the Cognito User Identity Pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CognitoIdentityProvider clone()
      Overrides:
      clone in class Object