@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateIdentityPoolResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
An object representing an Amazon Cognito identity pool.
Constructor and Description |
---|
CreateIdentityPoolResult() |
Modifier and Type | Method and Description |
---|---|
CreateIdentityPoolResult |
addIdentityPoolTagsEntry(String key,
String value)
Add a single IdentityPoolTags entry
|
CreateIdentityPoolResult |
addSupportedLoginProvidersEntry(String key,
String value)
Add a single SupportedLoginProviders entry
|
CreateIdentityPoolResult |
clearIdentityPoolTagsEntries()
Removes all the entries added into IdentityPoolTags.
|
CreateIdentityPoolResult |
clearSupportedLoginProvidersEntries()
Removes all the entries added into SupportedLoginProviders.
|
CreateIdentityPoolResult |
clone() |
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()
A list representing an Amazon Cognito user pool and its client ID.
|
String |
getDeveloperProviderName()
The "domain" by which Cognito will refer to your users.
|
String |
getIdentityPoolId()
An identity pool ID in the format REGION:GUID.
|
String |
getIdentityPoolName()
A string that you provide.
|
Map<String,String> |
getIdentityPoolTags()
The tags that are assigned to the identity pool.
|
List<String> |
getOpenIdConnectProviderARNs()
The ARNs 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)
A list representing an Amazon Cognito user pool and its client ID.
|
void |
setDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
|
void |
setIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
void |
setIdentityPoolName(String identityPoolName)
A string that you provide.
|
void |
setIdentityPoolTags(Map<String,String> identityPoolTags)
The tags that are assigned to the identity pool.
|
void |
setOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
The ARNs 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.
|
CreateIdentityPoolResult |
withAllowClassicFlow(Boolean allowClassicFlow)
Enables or disables the Basic (Classic) authentication flow.
|
CreateIdentityPoolResult |
withAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
|
CreateIdentityPoolResult |
withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders)
A list representing an Amazon Cognito user pool and its client ID.
|
CreateIdentityPoolResult |
withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
A list representing an Amazon Cognito user pool and its client ID.
|
CreateIdentityPoolResult |
withDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
|
CreateIdentityPoolResult |
withIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
CreateIdentityPoolResult |
withIdentityPoolName(String identityPoolName)
A string that you provide.
|
CreateIdentityPoolResult |
withIdentityPoolTags(Map<String,String> identityPoolTags)
The tags that are assigned to the identity pool.
|
CreateIdentityPoolResult |
withOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
The ARNs of the OpenID Connect providers.
|
CreateIdentityPoolResult |
withOpenIdConnectProviderARNs(String... openIdConnectProviderARNs)
The ARNs of the OpenID Connect providers.
|
CreateIdentityPoolResult |
withSamlProviderARNs(Collection<String> samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
|
CreateIdentityPoolResult |
withSamlProviderARNs(String... samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
|
CreateIdentityPoolResult |
withSupportedLoginProviders(Map<String,String> supportedLoginProviders)
Optional key:value pairs mapping provider names to provider app IDs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
identityPoolId
- An identity pool ID in the format REGION:GUID.public String getIdentityPoolId()
An identity pool ID in the format REGION:GUID.
public CreateIdentityPoolResult withIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
identityPoolId
- An identity pool ID in the format REGION:GUID.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 CreateIdentityPoolResult 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 CreateIdentityPoolResult 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 CreateIdentityPoolResult 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 CreateIdentityPoolResult 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 CreateIdentityPoolResult addSupportedLoginProvidersEntry(String key, String value)
public CreateIdentityPoolResult clearSupportedLoginProvidersEntries()
public void setDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
developerProviderName
- The "domain" by which Cognito will refer to your users.public String getDeveloperProviderName()
The "domain" by which Cognito will refer to your users.
public CreateIdentityPoolResult withDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
developerProviderName
- The "domain" by which Cognito will refer to your users.public List<String> getOpenIdConnectProviderARNs()
The ARNs of the OpenID Connect providers.
public void setOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
The ARNs of the OpenID Connect providers.
openIdConnectProviderARNs
- The ARNs of the OpenID Connect providers.public CreateIdentityPoolResult withOpenIdConnectProviderARNs(String... openIdConnectProviderARNs)
The ARNs 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 ARNs of the OpenID Connect providers.public CreateIdentityPoolResult withOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
The ARNs of the OpenID Connect providers.
openIdConnectProviderARNs
- The ARNs of the OpenID Connect providers.public List<CognitoIdentityProvider> getCognitoIdentityProviders()
A list representing an Amazon Cognito user pool and its client ID.
public void setCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
A list representing an Amazon Cognito user pool and its client ID.
cognitoIdentityProviders
- A list representing an Amazon Cognito user pool and its client ID.public CreateIdentityPoolResult withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders)
A list representing an Amazon Cognito user pool and its client ID.
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
- A list representing an Amazon Cognito user pool and its client ID.public CreateIdentityPoolResult withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
A list representing an Amazon Cognito user pool and its client ID.
cognitoIdentityProviders
- A list representing an Amazon Cognito user pool and its client ID.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 CreateIdentityPoolResult 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 CreateIdentityPoolResult 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()
The tags that are assigned 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)
The tags that are assigned 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
- The tags that are assigned 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 CreateIdentityPoolResult withIdentityPoolTags(Map<String,String> identityPoolTags)
The tags that are assigned 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
- The tags that are assigned 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 CreateIdentityPoolResult addIdentityPoolTagsEntry(String key, String value)
public CreateIdentityPoolResult clearIdentityPoolTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateIdentityPoolResult clone()