public class CreateIdentityPoolResult extends Object implements Serializable
An object representing a Cognito identity pool.
Constructor and Description |
---|
CreateIdentityPoolResult() |
Modifier and Type | Method and Description |
---|---|
CreateIdentityPoolResult |
addSupportedLoginProvidersEntry(String key,
String value)
Optional key:value pairs mapping provider names to provider app IDs.
|
CreateIdentityPoolResult |
clearSupportedLoginProvidersEntries()
Removes all the entries added into SupportedLoginProviders.
|
boolean |
equals(Object obj) |
Boolean |
getAllowUnauthenticatedIdentities()
TRUE if the identity pool supports unauthenticated logins.
|
String |
getIdentityPoolId()
An identity pool ID in the format REGION:GUID.
|
String |
getIdentityPoolName()
A string that you provide.
|
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 |
setIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
void |
setIdentityPoolName(String identityPoolName)
A string that you provide.
|
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.
|
CreateIdentityPoolResult |
withAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
|
CreateIdentityPoolResult |
withIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
CreateIdentityPoolResult |
withIdentityPoolName(String identityPoolName)
A string that you provide.
|
CreateIdentityPoolResult |
withSupportedLoginProviders(Map<String,String> supportedLoginProviders)
Optional key:value pairs mapping provider names to provider app IDs.
|
public String getIdentityPoolId()
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityPoolId(String identityPoolId)
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId
- An identity pool ID in the format REGION:GUID.public CreateIdentityPoolResult withIdentityPoolId(String identityPoolId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId
- An identity pool ID in the format REGION:GUID.public String getIdentityPoolName()
Constraints:
Length: 1 - 128
Pattern: [\w ]+
public void setIdentityPoolName(String identityPoolName)
Constraints:
Length: 1 - 128
Pattern: [\w ]+
identityPoolName
- A string that you provide.public CreateIdentityPoolResult withIdentityPoolName(String identityPoolName)
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()
public void setAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
allowUnauthenticatedIdentities
- TRUE if the identity pool supports unauthenticated logins.public CreateIdentityPoolResult withAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
Returns a reference to this object so that method calls can be chained together.
allowUnauthenticatedIdentities
- TRUE if the identity pool supports unauthenticated logins.public Boolean getAllowUnauthenticatedIdentities()
public Map<String,String> getSupportedLoginProviders()
Constraints:
Length: 0 - 3
public void setSupportedLoginProviders(Map<String,String> supportedLoginProviders)
Constraints:
Length: 0 - 3
supportedLoginProviders
- Optional key:value pairs mapping provider names to provider app IDs.public CreateIdentityPoolResult withSupportedLoginProviders(Map<String,String> supportedLoginProviders)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 3
supportedLoginProviders
- Optional key:value pairs mapping provider names to provider app IDs.public CreateIdentityPoolResult addSupportedLoginProvidersEntry(String key, String value)
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.
Constraints:
Length: 0 - 3
key
- The key of the entry to be added into SupportedLoginProviders.value
- The corresponding value of the entry to be added into SupportedLoginProviders.public CreateIdentityPoolResult clearSupportedLoginProvidersEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.