Class CreateIdentityPoolResult
- All Implemented Interfaces:
Serializable,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSupportedLoginProvidersEntry(String key, String value) Removes all the entries added into SupportedLoginProviders.clone()booleanTRUE if the identity pool supports unauthenticated logins.A list representing a Cognito User Identity Pool and its client ID.The "domain" by which Cognito will refer to your users.An identity pool ID in the format REGION:GUID.A string that you provide.A list of OpendID Connect provider ARNs.Optional key:value pairs mapping provider names to provider app IDs.inthashCode()TRUE if the identity pool supports unauthenticated logins.voidsetAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities) TRUE if the identity pool supports unauthenticated logins.voidsetCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders) A list representing a Cognito User Identity Pool and its client ID.voidsetDeveloperProviderName(String developerProviderName) The "domain" by which Cognito will refer to your users.voidsetIdentityPoolId(String identityPoolId) An identity pool ID in the format REGION:GUID.voidsetIdentityPoolName(String identityPoolName) A string that you provide.voidsetOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs) A list of OpendID Connect provider ARNs.voidsetSupportedLoginProviders(Map<String, String> supportedLoginProviders) Optional key:value pairs mapping provider names to provider app IDs.toString()Returns a string representation of this object; useful for testing and debugging.withAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities) TRUE if the identity pool supports unauthenticated logins.withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders) A list representing a Cognito User Identity Pool and its client ID.withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders) A list representing a Cognito User Identity Pool and its client ID.withDeveloperProviderName(String developerProviderName) The "domain" by which Cognito will refer to your users.withIdentityPoolId(String identityPoolId) An identity pool ID in the format REGION:GUID.withIdentityPoolName(String identityPoolName) A string that you provide.withOpenIdConnectProviderARNs(String... openIdConnectProviderARNs) A list of OpendID Connect provider ARNs.withOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs) A list of OpendID Connect provider ARNs.withSupportedLoginProviders(Map<String, String> supportedLoginProviders) Optional key:value pairs mapping provider names to provider app IDs.
-
Constructor Details
-
CreateIdentityPoolResult
public CreateIdentityPoolResult()
-
-
Method Details
-
setIdentityPoolId
An identity pool ID in the format REGION:GUID.- Parameters:
identityPoolId- An identity pool ID in the format REGION:GUID.
-
getIdentityPoolId
An identity pool ID in the format REGION:GUID.- Returns:
- An identity pool ID in the format REGION:GUID.
-
withIdentityPoolId
An identity pool ID in the format REGION:GUID.- Parameters:
identityPoolId- An identity pool ID in the format REGION:GUID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIdentityPoolName
A string that you provide.
- Parameters:
identityPoolName- A string that you provide.
-
getIdentityPoolName
A string that you provide.
- Returns:
- A string that you provide.
-
withIdentityPoolName
A string that you provide.
- Parameters:
identityPoolName- A string that you provide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAllowUnauthenticatedIdentities
TRUE if the identity pool supports unauthenticated logins.- Parameters:
allowUnauthenticatedIdentities- TRUE if the identity pool supports unauthenticated logins.
-
getAllowUnauthenticatedIdentities
TRUE if the identity pool supports unauthenticated logins.- Returns:
- TRUE if the identity pool supports unauthenticated logins.
-
withAllowUnauthenticatedIdentities
public CreateIdentityPoolResult withAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities) TRUE if the identity pool supports unauthenticated logins.- Parameters:
allowUnauthenticatedIdentities- TRUE if the identity pool supports unauthenticated logins.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowUnauthenticatedIdentities
TRUE if the identity pool supports unauthenticated logins.- Returns:
- TRUE if the identity pool supports unauthenticated logins.
-
getSupportedLoginProviders
Optional key:value pairs mapping provider names to provider app IDs.
- Returns:
- Optional key:value pairs mapping provider names to provider app IDs.
-
setSupportedLoginProviders
Optional key:value pairs mapping provider names to provider app IDs.
- Parameters:
supportedLoginProviders- Optional key:value pairs mapping provider names to provider app IDs.
-
withSupportedLoginProviders
public CreateIdentityPoolResult withSupportedLoginProviders(Map<String, String> supportedLoginProviders) Optional key:value pairs mapping provider names to provider app IDs.
- Parameters:
supportedLoginProviders- Optional key:value pairs mapping provider names to provider app IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addSupportedLoginProvidersEntry
-
clearSupportedLoginProvidersEntries
Removes all the entries added into SupportedLoginProviders. <p> Returns a reference to this object so that method calls can be chained together. -
setDeveloperProviderName
The "domain" by which Cognito will refer to your users.
- Parameters:
developerProviderName- The "domain" by which Cognito will refer to your users.
-
getDeveloperProviderName
The "domain" by which Cognito will refer to your users.
- Returns:
- The "domain" by which Cognito will refer to your users.
-
withDeveloperProviderName
The "domain" by which Cognito will refer to your users.
- Parameters:
developerProviderName- The "domain" by which Cognito will refer to your users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getOpenIdConnectProviderARNs
A list of OpendID Connect provider ARNs.
- Returns:
- A list of OpendID Connect provider ARNs.
-
setOpenIdConnectProviderARNs
A list of OpendID Connect provider ARNs.
- Parameters:
openIdConnectProviderARNs- A list of OpendID Connect provider ARNs.
-
withOpenIdConnectProviderARNs
A list of OpendID Connect provider ARNs.
NOTE: This method appends the values to the existing list (if any). Use
setOpenIdConnectProviderARNs(java.util.Collection)orwithOpenIdConnectProviderARNs(java.util.Collection)if you want to override the existing values.- Parameters:
openIdConnectProviderARNs- A list of OpendID Connect provider ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOpenIdConnectProviderARNs
public CreateIdentityPoolResult withOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs) A list of OpendID Connect provider ARNs.
- Parameters:
openIdConnectProviderARNs- A list of OpendID Connect provider ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCognitoIdentityProviders
A list representing a Cognito User Identity Pool and its client ID.
- Returns:
- A list representing a Cognito User Identity Pool and its client ID.
-
setCognitoIdentityProviders
public void setCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders) A list representing a Cognito User Identity Pool and its client ID.
- Parameters:
cognitoIdentityProviders- A list representing a Cognito User Identity Pool and its client ID.
-
withCognitoIdentityProviders
public CreateIdentityPoolResult withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders) A list representing a Cognito User Identity Pool and its client ID.
NOTE: This method appends the values to the existing list (if any). Use
setCognitoIdentityProviders(java.util.Collection)orwithCognitoIdentityProviders(java.util.Collection)if you want to override the existing values.- Parameters:
cognitoIdentityProviders- A list representing a Cognito User Identity Pool and its client ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCognitoIdentityProviders
public CreateIdentityPoolResult withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders) A list representing a Cognito User Identity Pool and its client ID.
- Parameters:
cognitoIdentityProviders- A list representing a Cognito User Identity Pool and its client ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-