public class CognitoIdentityProvider extends Object implements Serializable, Cloneable
A provider representing an Amazon Cognito Identity User Pool and its client ID.
| Constructor and Description |
|---|
CognitoIdentityProvider() |
| Modifier and Type | Method and Description |
|---|---|
CognitoIdentityProvider |
clone() |
boolean |
equals(Object obj) |
String |
getClientId()
The client ID for the Amazon Cognito Identity User Pool.
|
String |
getProviderName()
The provider name for an Amazon Cognito Identity User Pool.
|
int |
hashCode() |
void |
setClientId(String clientId)
The client ID for the Amazon Cognito Identity User Pool.
|
void |
setProviderName(String providerName)
The provider name for an Amazon Cognito Identity User Pool.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CognitoIdentityProvider |
withClientId(String clientId)
The client ID for the Amazon Cognito Identity User Pool.
|
CognitoIdentityProvider |
withProviderName(String providerName)
The provider name for an Amazon Cognito Identity User Pool.
|
public void setProviderName(String providerName)
The provider name for an Amazon Cognito Identity User Pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.
providerName - The provider name for an Amazon Cognito Identity User Pool. For
example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.public String getProviderName()
The provider name for an Amazon Cognito Identity User 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(String providerName)
The provider name for an Amazon Cognito Identity User Pool. For example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.
providerName - The provider name for an Amazon Cognito Identity User Pool. For
example,
cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789
.public void setClientId(String clientId)
The client ID for the Amazon Cognito Identity User Pool.
clientId - The client ID for the Amazon Cognito Identity User Pool.public String getClientId()
The client ID for the Amazon Cognito Identity User Pool.
public CognitoIdentityProvider withClientId(String clientId)
The client ID for the Amazon Cognito Identity User Pool.
clientId - The client ID for the Amazon Cognito Identity User Pool.public String toString()
toString in class ObjectObject.toString()public CognitoIdentityProvider clone()
Copyright © 2016. All rights reserved.