public class UpdateIdentityPoolRequest extends AmazonWebServiceRequest implements Serializable
Updates an identity pool.
You must use AWS Developer credentials to call this API.
| Constructor and Description |
|---|
UpdateIdentityPoolRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateIdentityPoolRequest |
addIdentityPoolTagsEntry(String key,
String value)
The tags that are assigned to the identity pool.
|
UpdateIdentityPoolRequest |
addSupportedLoginProvidersEntry(String key,
String value)
Optional key:value pairs mapping provider names to provider app IDs.
|
UpdateIdentityPoolRequest |
clearIdentityPoolTagsEntries()
Removes all the entries added into IdentityPoolTags.
|
UpdateIdentityPoolRequest |
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()
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()
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)
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)
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.
|
UpdateIdentityPoolRequest |
withAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
|
UpdateIdentityPoolRequest |
withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders)
A list representing an Amazon Cognito user pool and its client ID.
|
UpdateIdentityPoolRequest |
withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
A list representing an Amazon Cognito user pool and its client ID.
|
UpdateIdentityPoolRequest |
withDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
|
UpdateIdentityPoolRequest |
withIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
UpdateIdentityPoolRequest |
withIdentityPoolName(String identityPoolName)
A string that you provide.
|
UpdateIdentityPoolRequest |
withIdentityPoolTags(Map<String,String> identityPoolTags)
The tags that are assigned to the identity pool.
|
UpdateIdentityPoolRequest |
withOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
|
UpdateIdentityPoolRequest |
withOpenIdConnectProviderARNs(String... openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
|
UpdateIdentityPoolRequest |
withSamlProviderARNs(Collection<String> samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your
identity pool.
|
UpdateIdentityPoolRequest |
withSamlProviderARNs(String... samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your
identity pool.
|
UpdateIdentityPoolRequest |
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 getIdentityPoolId()
An identity pool ID in the format REGION:GUID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
An identity pool ID in the format REGION:GUID.
public void setIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId - An identity pool ID in the format REGION:GUID.
public UpdateIdentityPoolRequest withIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId - An identity pool ID in the format REGION:GUID.
public 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 UpdateIdentityPoolRequest 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 UpdateIdentityPoolRequest 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 UpdateIdentityPoolRequest 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 UpdateIdentityPoolRequest 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 UpdateIdentityPoolRequest 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.
Constraints:
Length: 1 - 128
Pattern: [\w._-]+
The "domain" by which Cognito will refer to your users.
public void setDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
Constraints:
Length: 1 - 128
Pattern: [\w._-]+
developerProviderName - The "domain" by which Cognito will refer to your users.
public UpdateIdentityPoolRequest withDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
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.
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 UpdateIdentityPoolRequest 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 UpdateIdentityPoolRequest 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()
A list representing an Amazon Cognito user pool and its client ID.
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 UpdateIdentityPoolRequest withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders)
A list representing an Amazon Cognito user pool and its client ID.
Returns a reference to this object so that method calls can be chained together.
cognitoIdentityProviders - A list representing an Amazon Cognito user pool and its client ID.
public UpdateIdentityPoolRequest withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
A list representing an Amazon Cognito user pool and its client ID.
Returns a reference to this object so that method calls can be chained together.
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.
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 UpdateIdentityPoolRequest 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 UpdateIdentityPoolRequest 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 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.
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 UpdateIdentityPoolRequest 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.
Returns a reference to this object so that method calls can be chained together.
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 UpdateIdentityPoolRequest addIdentityPoolTagsEntry(String key, String value)
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.
The method adds a new key-value pair into IdentityPoolTags 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 IdentityPoolTags.value - The corresponding value of the entry to be added into
IdentityPoolTags.public UpdateIdentityPoolRequest clearIdentityPoolTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.