public class CognitoIdentityProvider
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A provider representing a Cognito User Identity Pool and its client ID.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clientId
The client ID for the Cognito User Identity Pool.
|
private java.lang.String |
providerName
The provider name for a Cognito User Identity Pool.
|
Constructor and Description |
---|
CognitoIdentityProvider() |
Modifier and Type | Method and Description |
---|---|
CognitoIdentityProvider |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientId()
The client ID for the Cognito User Identity Pool.
|
java.lang.String |
getProviderName()
The provider name for a Cognito User Identity Pool.
|
int |
hashCode() |
void |
setClientId(java.lang.String clientId)
The client ID for the Cognito User Identity Pool.
|
void |
setProviderName(java.lang.String providerName)
The provider name for a Cognito User Identity Pool.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CognitoIdentityProvider |
withClientId(java.lang.String clientId)
The client ID for the Cognito User Identity Pool.
|
CognitoIdentityProvider |
withProviderName(java.lang.String providerName)
The provider name for a Cognito User Identity Pool.
|
private java.lang.String providerName
The provider name for a Cognito User Identity Pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
private java.lang.String clientId
The client ID for the Cognito User Identity Pool.
public void setProviderName(java.lang.String providerName)
The provider name for a Cognito User Identity Pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
providerName
- The provider name for a Cognito User Identity Pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.public java.lang.String getProviderName()
The provider name for a Cognito User Identity Pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.public CognitoIdentityProvider withProviderName(java.lang.String providerName)
The provider name for a Cognito User Identity Pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.
providerName
- The provider name for a Cognito User Identity Pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.public void setClientId(java.lang.String clientId)
The client ID for the Cognito User Identity Pool.
clientId
- The client ID for the Cognito User Identity Pool.public java.lang.String getClientId()
The client ID for the Cognito User Identity Pool.
public CognitoIdentityProvider withClientId(java.lang.String clientId)
The client ID for the Cognito User Identity Pool.
clientId
- The client ID for the Cognito User Identity Pool.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CognitoIdentityProvider clone()
clone
in class java.lang.Object