@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateIdentityPoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input to the CreateIdentityPool action.
NOOP
Constructor and Description |
---|
CreateIdentityPoolRequest() |
Modifier and Type | Method and Description |
---|---|
CreateIdentityPoolRequest |
addIdentityPoolTagsEntry(String key,
String value)
Add a single IdentityPoolTags entry
|
CreateIdentityPoolRequest |
addSupportedLoginProvidersEntry(String key,
String value)
Add a single SupportedLoginProviders entry
|
CreateIdentityPoolRequest |
clearIdentityPoolTagsEntries()
Removes all the entries added into IdentityPoolTags.
|
CreateIdentityPoolRequest |
clearSupportedLoginProvidersEntries()
Removes all the entries added into SupportedLoginProviders.
|
CreateIdentityPoolRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAllowClassicFlow()
Enables or disables the Basic (Classic) authentication flow.
|
Boolean |
getAllowUnauthenticatedIdentities()
TRUE if the identity pool supports unauthenticated logins.
|
List<CognitoIdentityProvider> |
getCognitoIdentityProviders()
An array of Amazon Cognito 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.
|
Map<String,String> |
getIdentityPoolTags()
Tags to assign to the identity pool.
|
List<String> |
getOpenIdConnectProviderARNs()
The Amazon Resource Names (ARN) of the OpenID Connect providers.
|
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 |
isAllowClassicFlow()
Enables or disables the Basic (Classic) authentication flow.
|
Boolean |
isAllowUnauthenticatedIdentities()
TRUE if the identity pool supports unauthenticated logins.
|
void |
setAllowClassicFlow(Boolean allowClassicFlow)
Enables or disables the Basic (Classic) authentication flow.
|
void |
setAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
|
void |
setCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
An array of Amazon Cognito 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 |
setIdentityPoolTags(Map<String,String> identityPoolTags)
Tags to assign to the identity pool.
|
void |
setOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
The Amazon Resource Names (ARN) of the OpenID Connect providers.
|
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.
|
CreateIdentityPoolRequest |
withAllowClassicFlow(Boolean allowClassicFlow)
Enables or disables the Basic (Classic) authentication flow.
|
CreateIdentityPoolRequest |
withAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
|
CreateIdentityPoolRequest |
withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders)
An array of Amazon Cognito user pools and their client IDs.
|
CreateIdentityPoolRequest |
withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
An array of Amazon Cognito 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 |
withIdentityPoolTags(Map<String,String> identityPoolTags)
Tags to assign to the identity pool.
|
CreateIdentityPoolRequest |
withOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
The Amazon Resource Names (ARN) of the OpenID Connect providers.
|
CreateIdentityPoolRequest |
withOpenIdConnectProviderARNs(String... openIdConnectProviderARNs)
The Amazon Resource Names (ARN) of the OpenID Connect providers.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIdentityPoolName(String identityPoolName)
A string that you provide.
identityPoolName
- A string that you provide.public String getIdentityPoolName()
A string that you provide.
public CreateIdentityPoolRequest withIdentityPoolName(String identityPoolName)
A string that you provide.
identityPoolName
- A string that you provide.public void setAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
allowUnauthenticatedIdentities
- TRUE if the identity pool supports unauthenticated logins.public Boolean getAllowUnauthenticatedIdentities()
TRUE if the identity pool supports unauthenticated logins.
public CreateIdentityPoolRequest withAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
allowUnauthenticatedIdentities
- TRUE if the identity pool supports unauthenticated logins.public Boolean isAllowUnauthenticatedIdentities()
TRUE if the identity pool supports unauthenticated logins.
public void setAllowClassicFlow(Boolean allowClassicFlow)
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
allowClassicFlow
- Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools
(Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.public Boolean getAllowClassicFlow()
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
public CreateIdentityPoolRequest withAllowClassicFlow(Boolean allowClassicFlow)
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
allowClassicFlow
- Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools
(Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.public Boolean isAllowClassicFlow()
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
public Map<String,String> getSupportedLoginProviders()
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.
supportedLoginProviders
- Optional key:value pairs mapping provider names to provider app IDs.public CreateIdentityPoolRequest addSupportedLoginProvidersEntry(String key, String value)
public CreateIdentityPoolRequest clearSupportedLoginProvidersEntries()
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.
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 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.
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.
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()
The Amazon Resource Names (ARN) of the OpenID Connect providers.
public void setOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
The Amazon Resource Names (ARN) of the OpenID Connect providers.
openIdConnectProviderARNs
- The Amazon Resource Names (ARN) of the OpenID Connect providers.public CreateIdentityPoolRequest withOpenIdConnectProviderARNs(String... openIdConnectProviderARNs)
The Amazon Resource Names (ARN) of the OpenID Connect providers.
NOTE: This method appends the values to the existing list (if any). Use
setOpenIdConnectProviderARNs(java.util.Collection)
or
withOpenIdConnectProviderARNs(java.util.Collection)
if you want to override the existing values.
openIdConnectProviderARNs
- The Amazon Resource Names (ARN) of the OpenID Connect providers.public CreateIdentityPoolRequest withOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
The Amazon Resource Names (ARN) of the OpenID Connect providers.
openIdConnectProviderARNs
- The Amazon Resource Names (ARN) of the OpenID Connect providers.public List<CognitoIdentityProvider> getCognitoIdentityProviders()
An array of Amazon Cognito user pools and their client IDs.
public void setCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
An array of Amazon Cognito user pools and their client IDs.
cognitoIdentityProviders
- An array of Amazon Cognito user pools and their client IDs.public CreateIdentityPoolRequest withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders)
An array of Amazon Cognito user pools and their client IDs.
NOTE: This method appends the values to the existing list (if any). Use
setCognitoIdentityProviders(java.util.Collection)
or
withCognitoIdentityProviders(java.util.Collection)
if you want to override the existing values.
cognitoIdentityProviders
- An array of Amazon Cognito user pools and their client IDs.public CreateIdentityPoolRequest withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
An array of Amazon Cognito user pools and their client IDs.
cognitoIdentityProviders
- An array of Amazon Cognito 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.
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.
NOTE: This method appends the values to the existing list (if any). Use
setSamlProviderARNs(java.util.Collection)
or withSamlProviderARNs(java.util.Collection)
if you
want to override the existing values.
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.
samlProviderARNs
- An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.public Map<String,String> getIdentityPoolTags()
Tags to assign to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
public void setIdentityPoolTags(Map<String,String> identityPoolTags)
Tags to assign to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
identityPoolTags
- Tags to assign to the identity pool. A tag is a label that you can apply to identity pools to categorize
and manage them in different ways, such as by purpose, owner, environment, or other criteria.public CreateIdentityPoolRequest withIdentityPoolTags(Map<String,String> identityPoolTags)
Tags to assign to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
identityPoolTags
- Tags to assign to the identity pool. A tag is a label that you can apply to identity pools to categorize
and manage them in different ways, such as by purpose, owner, environment, or other criteria.public CreateIdentityPoolRequest addIdentityPoolTagsEntry(String key, String value)
public CreateIdentityPoolRequest clearIdentityPoolTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateIdentityPoolRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()