public class CreateIdentityPoolRequest extends AmazonWebServiceRequest implements Serializable
Creates a new identity pool. The identity pool is a store of user identity
information that is specific to your AWS account. The limit on identity pools
is 60 per account. The keys for SupportedLoginProviders are as
follows:
Facebook: graph.facebook.com
Google: accounts.google.com
Amazon: www.amazon.com
Twitter: api.twitter.com
Digits: www.digits.com
You must use AWS Developer credentials to call this API.
| Constructor and Description |
|---|
CreateIdentityPoolRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateIdentityPoolRequest |
addSupportedLoginProvidersEntry(String key,
String value)
Optional key:value pairs mapping provider names to provider app IDs.
|
CreateIdentityPoolRequest |
clearSupportedLoginProvidersEntries()
Removes all the entries added into SupportedLoginProviders.
|
boolean |
equals(Object obj) |
Boolean |
getAllowUnauthenticatedIdentities()
TRUE if the identity pool supports unauthenticated logins.
|
List<CognitoIdentityProvider> |
getCognitoIdentityProviders()
An array of Amazon Cognito Identity user pools and their client IDs.
|
String |
getDeveloperProviderName()
The "domain" by which Cognito will refer to your users.
|
String |
getIdentityPoolName()
A string that you provide.
|
List<String> |
getOpenIdConnectProviderARNs()
A list of OpendID Connect provider ARNs.
|
List<String> |
getSamlProviderARNs()
An array of Amazon Resource Names (ARNs) of the SAML provider for your
identity pool.
|
Map<String,String> |
getSupportedLoginProviders()
Optional key:value pairs mapping provider names to provider app IDs.
|
int |
hashCode() |
Boolean |
isAllowUnauthenticatedIdentities()
TRUE if the identity pool supports unauthenticated logins.
|
void |
setAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
|
void |
setCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
|
void |
setDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
|
void |
setIdentityPoolName(String identityPoolName)
A string that you provide.
|
void |
setOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
|
void |
setSamlProviderARNs(Collection<String> samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your
identity pool.
|
void |
setSupportedLoginProviders(Map<String,String> supportedLoginProviders)
Optional key:value pairs mapping provider names to provider app IDs.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateIdentityPoolRequest |
withAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
|
CreateIdentityPoolRequest |
withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
|
CreateIdentityPoolRequest |
withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
|
CreateIdentityPoolRequest |
withDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
|
CreateIdentityPoolRequest |
withIdentityPoolName(String identityPoolName)
A string that you provide.
|
CreateIdentityPoolRequest |
withOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
|
CreateIdentityPoolRequest |
withOpenIdConnectProviderARNs(String... openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
|
CreateIdentityPoolRequest |
withSamlProviderARNs(Collection<String> samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your
identity pool.
|
CreateIdentityPoolRequest |
withSamlProviderARNs(String... samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your
identity pool.
|
CreateIdentityPoolRequest |
withSupportedLoginProviders(Map<String,String> supportedLoginProviders)
Optional key:value pairs mapping provider names to provider app IDs.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getIdentityPoolName()
A string that you provide.
Constraints:
Length: 1 - 128
Pattern: [\w ]+
A string that you provide.
public void setIdentityPoolName(String identityPoolName)
A string that you provide.
Constraints:
Length: 1 - 128
Pattern: [\w ]+
identityPoolName - A string that you provide.
public CreateIdentityPoolRequest withIdentityPoolName(String identityPoolName)
A string that you provide.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w ]+
identityPoolName - A string that you provide.
public Boolean isAllowUnauthenticatedIdentities()
TRUE if the identity pool supports unauthenticated logins.
TRUE if the identity pool supports unauthenticated logins.
public Boolean getAllowUnauthenticatedIdentities()
TRUE if the identity pool supports unauthenticated logins.
TRUE if the identity pool supports unauthenticated logins.
public void setAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
allowUnauthenticatedIdentities - TRUE if the identity pool supports unauthenticated logins.
public CreateIdentityPoolRequest withAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
Returns a reference to this object so that method calls can be chained together.
allowUnauthenticatedIdentities - TRUE if the identity pool supports unauthenticated logins.
public Map<String,String> getSupportedLoginProviders()
Optional key:value pairs mapping provider names to provider app IDs.
Optional key:value pairs mapping provider names to provider app IDs.
public void setSupportedLoginProviders(Map<String,String> supportedLoginProviders)
Optional key:value pairs mapping provider names to provider app IDs.
supportedLoginProviders - Optional key:value pairs mapping provider names to provider app IDs.
public CreateIdentityPoolRequest withSupportedLoginProviders(Map<String,String> supportedLoginProviders)
Optional key:value pairs mapping provider names to provider app IDs.
Returns a reference to this object so that method calls can be chained together.
supportedLoginProviders - Optional key:value pairs mapping provider names to provider app IDs.
public CreateIdentityPoolRequest addSupportedLoginProvidersEntry(String key, String value)
Optional key:value pairs mapping provider names to provider app IDs.
The method adds a new key-value pair into SupportedLoginProviders parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into SupportedLoginProviders.value - The corresponding value of the entry to be added into
SupportedLoginProviders.public CreateIdentityPoolRequest clearSupportedLoginProvidersEntries()
Returns a reference to this object so that method calls can be chained together.
public String getDeveloperProviderName()
The "domain" by which Cognito will refer to your users. This name acts as
a placeholder that allows your backend and the Cognito service to
communicate about the developer provider. For the
DeveloperProviderName, you can use letters as well as period
(.), underscore (_), and dash (-).
Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.
Constraints:
Length: 1 - 128
Pattern: [\w._-]+
The "domain" by which Cognito will refer to your users. This name
acts as a placeholder that allows your backend and the Cognito
service to communicate about the developer provider. For the
DeveloperProviderName, you can use letters as well
as period (.), underscore (_), and dash
(-).
Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.
public void setDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users. This name acts as
a placeholder that allows your backend and the Cognito service to
communicate about the developer provider. For the
DeveloperProviderName, you can use letters as well as period
(.), underscore (_), and dash (-).
Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.
Constraints:
Length: 1 - 128
Pattern: [\w._-]+
developerProviderName -
The "domain" by which Cognito will refer to your users. This
name acts as a placeholder that allows your backend and the
Cognito service to communicate about the developer provider.
For the DeveloperProviderName, you can use
letters as well as period (.), underscore (
_), and dash (-).
Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.
public CreateIdentityPoolRequest withDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users. This name acts as
a placeholder that allows your backend and the Cognito service to
communicate about the developer provider. For the
DeveloperProviderName, you can use letters as well as period
(.), underscore (_), and dash (-).
Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w._-]+
developerProviderName -
The "domain" by which Cognito will refer to your users. This
name acts as a placeholder that allows your backend and the
Cognito service to communicate about the developer provider.
For the DeveloperProviderName, you can use
letters as well as period (.), underscore (
_), and dash (-).
Once you have set a developer provider name, you cannot change it. Please take care in setting this parameter.
public List<String> getOpenIdConnectProviderARNs()
A list of OpendID Connect provider ARNs.
A list of OpendID Connect provider ARNs.
public void setOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
openIdConnectProviderARNs - A list of OpendID Connect provider ARNs.
public CreateIdentityPoolRequest withOpenIdConnectProviderARNs(String... openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
Returns a reference to this object so that method calls can be chained together.
openIdConnectProviderARNs - A list of OpendID Connect provider ARNs.
public CreateIdentityPoolRequest withOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
Returns a reference to this object so that method calls can be chained together.
openIdConnectProviderARNs - A list of OpendID Connect provider ARNs.
public List<CognitoIdentityProvider> getCognitoIdentityProviders()
An array of Amazon Cognito Identity user pools and their client IDs.
An array of Amazon Cognito Identity user pools and their client IDs.
public void setCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
cognitoIdentityProviders - An array of Amazon Cognito Identity user pools and their client IDs.
public CreateIdentityPoolRequest withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
Returns a reference to this object so that method calls can be chained together.
cognitoIdentityProviders - An array of Amazon Cognito Identity user pools and their client IDs.
public CreateIdentityPoolRequest withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
Returns a reference to this object so that method calls can be chained together.
cognitoIdentityProviders - An array of Amazon Cognito Identity user pools and their client IDs.
public List<String> getSamlProviderARNs()
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
public void setSamlProviderARNs(Collection<String> samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
samlProviderARNs - An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
public CreateIdentityPoolRequest withSamlProviderARNs(String... samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
Returns a reference to this object so that method calls can be chained together.
samlProviderARNs - An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
public CreateIdentityPoolRequest withSamlProviderARNs(Collection<String> samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
Returns a reference to this object so that method calls can be chained together.
samlProviderARNs - An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.