public static interface CreateIdentityPoolRequest.Builder extends CognitoIdentityRequest.Builder, CopyableBuilder<CreateIdentityPoolRequest.Builder,CreateIdentityPoolRequest>
Modifier and Type | Method and Description |
---|---|
CreateIdentityPoolRequest.Builder |
allowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
|
CreateIdentityPoolRequest.Builder |
cognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
|
CreateIdentityPoolRequest.Builder |
cognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
|
CreateIdentityPoolRequest.Builder |
cognitoIdentityProviders(Consumer<CognitoIdentityProvider.Builder>... cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
|
CreateIdentityPoolRequest.Builder |
developerProviderName(String developerProviderName)
The "domain" by which Cognito will refer to your users.
|
CreateIdentityPoolRequest.Builder |
identityPoolName(String identityPoolName)
A string that you provide.
|
CreateIdentityPoolRequest.Builder |
openIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
|
CreateIdentityPoolRequest.Builder |
openIdConnectProviderARNs(String... openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
|
CreateIdentityPoolRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateIdentityPoolRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateIdentityPoolRequest.Builder |
samlProviderARNs(Collection<String> samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
|
CreateIdentityPoolRequest.Builder |
samlProviderARNs(String... samlProviderARNs)
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
|
CreateIdentityPoolRequest.Builder |
supportedLoginProviders(Map<String,String> supportedLoginProviders)
Optional key:value pairs mapping provider names to provider app IDs.
|
build
overrideConfiguration
copy
applyMutation, build
CreateIdentityPoolRequest.Builder identityPoolName(String identityPoolName)
A string that you provide.
identityPoolName
- A string that you provide.CreateIdentityPoolRequest.Builder allowUnauthenticatedIdentities(Boolean allowUnauthenticatedIdentities)
TRUE if the identity pool supports unauthenticated logins.
allowUnauthenticatedIdentities
- TRUE if the identity pool supports unauthenticated logins.CreateIdentityPoolRequest.Builder supportedLoginProviders(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.CreateIdentityPoolRequest.Builder developerProviderName(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.
CreateIdentityPoolRequest.Builder openIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
openIdConnectProviderARNs
- A list of OpendID Connect provider ARNs.CreateIdentityPoolRequest.Builder openIdConnectProviderARNs(String... openIdConnectProviderARNs)
A list of OpendID Connect provider ARNs.
openIdConnectProviderARNs
- A list of OpendID Connect provider ARNs.CreateIdentityPoolRequest.Builder cognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
cognitoIdentityProviders
- An array of Amazon Cognito Identity user pools and their client IDs.CreateIdentityPoolRequest.Builder cognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
cognitoIdentityProviders
- An array of Amazon Cognito Identity user pools and their client IDs.CreateIdentityPoolRequest.Builder cognitoIdentityProviders(Consumer<CognitoIdentityProvider.Builder>... cognitoIdentityProviders)
An array of Amazon Cognito Identity user pools and their client IDs.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #cognitoIdentityProviders(List)
.cognitoIdentityProviders
- a consumer that will call methods on List.Builder
#cognitoIdentityProviders(List)
CreateIdentityPoolRequest.Builder samlProviderARNs(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.CreateIdentityPoolRequest.Builder samlProviderARNs(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.CreateIdentityPoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateIdentityPoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.