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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CognitoIdentityProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CognitoIdentityProviderclone()booleanequals(Object obj)StringgetClientId()The client ID for the Cognito User Identity Pool.StringgetProviderName()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.StringtoString()Returns a string representation of this object; useful for testing and debugging.CognitoIdentityProviderwithClientId(String clientId)The client ID for the Cognito User Identity Pool.CognitoIdentityProviderwithProviderName(String providerName)The provider name for a Cognito User Identity Pool.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CognitoIdentityProvider clone()
-
-