public class CognitoIdentityProvider extends Object implements Serializable
A provider representing an Amazon Cognito Identity User Pool and its client ID.
| Constructor and Description |
|---|
CognitoIdentityProvider() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Boolean |
getServerSideTokenCheck()
TRUE if server-side token validation is enabled for the identity
provider’s token.
|
int |
hashCode() |
Boolean |
isServerSideTokenCheck()
TRUE if server-side token validation is enabled for the identity
provider’s token.
|
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.
|
void |
setServerSideTokenCheck(Boolean serverSideTokenCheck)
TRUE if server-side token validation is enabled for the identity
provider’s token.
|
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.
|
CognitoIdentityProvider |
withServerSideTokenCheck(Boolean serverSideTokenCheck)
TRUE if server-side token validation is enabled for the identity
provider’s token.
|
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.
Constraints:
Length: 1 - 128
Pattern: [\w._:/-]+
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 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.
Constraints:
Length: 1 - 128
Pattern: [\w._:/-]+
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 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w._:/-]+
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 getClientId()
The client ID for the Amazon Cognito Identity User Pool.
Constraints:
Length: 1 - 128
Pattern: [\w_]+
The client ID for the Amazon Cognito Identity User Pool.
public void setClientId(String clientId)
The client ID for the Amazon Cognito Identity User Pool.
Constraints:
Length: 1 - 128
Pattern: [\w_]+
clientId - 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w_]+
clientId - The client ID for the Amazon Cognito Identity User Pool.
public Boolean isServerSideTokenCheck()
TRUE if server-side token validation is enabled for the identity provider’s token.
TRUE if server-side token validation is enabled for the identity provider’s token.
public Boolean getServerSideTokenCheck()
TRUE if server-side token validation is enabled for the identity provider’s token.
TRUE if server-side token validation is enabled for the identity provider’s token.
public void setServerSideTokenCheck(Boolean serverSideTokenCheck)
TRUE if server-side token validation is enabled for the identity provider’s token.
serverSideTokenCheck - TRUE if server-side token validation is enabled for the identity provider’s token.
public CognitoIdentityProvider withServerSideTokenCheck(Boolean serverSideTokenCheck)
TRUE if server-side token validation is enabled for the identity provider’s token.
Returns a reference to this object so that method calls can be chained together.
serverSideTokenCheck - TRUE if server-side token validation is enabled for the identity provider’s token.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.