Class CognitoIdentityProvider
java.lang.Object
com.amazonaws.services.cognitoidentity.model.CognitoIdentityProvider
- All Implemented Interfaces:
Serializable,Cloneable
A provider representing a Cognito User Identity Pool and its client ID.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe client ID for the Cognito User Identity Pool.The provider name for a Cognito User Identity Pool.inthashCode()voidsetClientId(String clientId) The client ID for the Cognito User Identity Pool.voidsetProviderName(String providerName) The provider name for a Cognito User Identity Pool.toString()Returns a string representation of this object; useful for testing and debugging.withClientId(String clientId) The client ID for the Cognito User Identity Pool.withProviderName(String providerName) The provider name for a Cognito User Identity Pool.
-
Constructor Details
-
CognitoIdentityProvider
public CognitoIdentityProvider()
-
-
Method Details
-
setProviderName
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
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
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
The client ID for the Cognito User Identity Pool.
- Parameters:
clientId- The client ID for the Cognito User Identity Pool.
-
getClientId
The client ID for the Cognito User Identity Pool.
- Returns:
- The client ID for the Cognito User Identity Pool.
-
withClientId
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-