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 |
addSupportedLoginProvidersEntry(String key,
String value) |
CreateIdentityPoolRequest |
clearSupportedLoginProvidersEntries()
Removes all the entries added into SupportedLoginProviders.
|
CreateIdentityPoolRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Boolean |
getAllowUnauthenticatedIdentities()
TRUE if the identity pool supports unauthenticated logins.
|
List<CognitoIdentityProvider> |
getCognitoIdentityProviders()
A list representing a Cognito User Identity Pool and its client ID.
|
String |
getDeveloperProviderName()
The "domain" by which Cognito will refer to your users.
|
String |
getIdentityPoolName()
A string that you provide.
|
List<String> |
getOpenIdConnectProviderARNs()
A list of OpendID Connect provider ARNs.
|
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 a Cognito User Identity Pool and its client ID.
|
void |
setDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
|
void |
setIdentityPoolName(String identityPoolName)
A string that you provide.
|
void |
setOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
|
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.
|
CreateIdentityPoolRequest |
withAllowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
|
CreateIdentityPoolRequest |
withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders)
A list representing a Cognito User Identity Pool and its client ID.
|
CreateIdentityPoolRequest |
withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
A list representing a Cognito User Identity Pool and its client ID.
|
CreateIdentityPoolRequest |
withDeveloperProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
|
CreateIdentityPoolRequest |
withIdentityPoolName(String identityPoolName)
A string that you provide.
|
CreateIdentityPoolRequest |
withOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
|
CreateIdentityPoolRequest |
withOpenIdConnectProviderARNs(String... openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
|
CreateIdentityPoolRequest |
withSupportedLoginProviders(Map<String,String> supportedLoginProviders)
Optional key:value pairs mapping provider names to provider app IDs.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, 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 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()
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 CreateIdentityPoolRequest withOpenIdConnectProviderARNs(String... openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
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
- A list of OpendID Connect provider ARNs.public CreateIdentityPoolRequest withOpenIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
openIdConnectProviderARNs
- A list of OpendID Connect provider ARNs.public List<CognitoIdentityProvider> getCognitoIdentityProviders()
A list representing a Cognito User Identity Pool and its client ID.
public void setCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
A list representing a Cognito User Identity Pool and its client ID.
cognitoIdentityProviders
- A list representing a Cognito User Identity Pool and its client
ID.public CreateIdentityPoolRequest 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)
or
withCognitoIdentityProviders(java.util.Collection)
if you want
to override the existing values.
cognitoIdentityProviders
- A list representing a Cognito User Identity Pool and its client
ID.public CreateIdentityPoolRequest withCognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
A list representing a Cognito User Identity Pool and its client ID.
cognitoIdentityProviders
- A list representing a Cognito User Identity Pool and its client
ID.public String toString()
toString
in class Object
Object.toString()
public CreateIdentityPoolRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.