Interface CreateIdentityPoolRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CognitoIdentityRequest.Builder
,CopyableBuilder<CreateIdentityPoolRequest.Builder,
,CreateIdentityPoolRequest> SdkBuilder<CreateIdentityPoolRequest.Builder,
,CreateIdentityPoolRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateIdentityPoolRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowClassicFlow
(Boolean allowClassicFlow) Enables or disables the Basic (Classic) authentication flow.allowUnauthenticatedIdentities
(Boolean allowUnauthenticatedIdentities) TRUE if the identity pool supports unauthenticated logins.cognitoIdentityProviders
(Collection<CognitoIdentityProvider> cognitoIdentityProviders) An array of Amazon Cognito user pools and their client IDs.cognitoIdentityProviders
(Consumer<CognitoIdentityProvider.Builder>... cognitoIdentityProviders) An array of Amazon Cognito user pools and their client IDs.cognitoIdentityProviders
(CognitoIdentityProvider... cognitoIdentityProviders) An array of Amazon Cognito user pools and their client IDs.developerProviderName
(String developerProviderName) The "domain" by which Cognito will refer to your users.identityPoolName
(String identityPoolName) A string that you provide.identityPoolTags
(Map<String, String> identityPoolTags) Tags to assign to the identity pool.openIdConnectProviderARNs
(String... openIdConnectProviderARNs) The Amazon Resource Names (ARN) of the OpenID Connect providers.openIdConnectProviderARNs
(Collection<String> openIdConnectProviderARNs) The Amazon Resource Names (ARN) of the OpenID Connect providers.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.samlProviderARNs
(String... samlProviderARNs) An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.samlProviderARNs
(Collection<String> samlProviderARNs) An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.supportedLoginProviders
(Map<String, String> supportedLoginProviders) Optional key:value pairs mapping provider names to provider app IDs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cognitoidentity.model.CognitoIdentityRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
identityPoolName
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.
-
allowUnauthenticatedIdentities
CreateIdentityPoolRequest.Builder allowUnauthenticatedIdentities(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.
-
allowClassicFlow
Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.
- Parameters:
allowClassicFlow
- Enables or disables the Basic (Classic) authentication flow. For more information, see Identity Pools (Federated Identities) Authentication Flow in the Amazon Cognito Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedLoginProviders
CreateIdentityPoolRequest.Builder supportedLoginProviders(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.
-
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.
- Parameters:
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 theDeveloperProviderName
, 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openIdConnectProviderARNs
CreateIdentityPoolRequest.Builder openIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs) The Amazon Resource Names (ARN) of the OpenID Connect providers.
- Parameters:
openIdConnectProviderARNs
- The Amazon Resource Names (ARN) of the OpenID Connect providers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openIdConnectProviderARNs
The Amazon Resource Names (ARN) of the OpenID Connect providers.
- Parameters:
openIdConnectProviderARNs
- The Amazon Resource Names (ARN) of the OpenID Connect providers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoIdentityProviders
CreateIdentityPoolRequest.Builder cognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders) An array of Amazon Cognito user pools and their client IDs.
- Parameters:
cognitoIdentityProviders
- An array of Amazon Cognito user pools and their client IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoIdentityProviders
CreateIdentityPoolRequest.Builder cognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders) An array of Amazon Cognito user pools and their client IDs.
- Parameters:
cognitoIdentityProviders
- An array of Amazon Cognito user pools and their client IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoIdentityProviders
CreateIdentityPoolRequest.Builder cognitoIdentityProviders(Consumer<CognitoIdentityProvider.Builder>... cognitoIdentityProviders) An array of Amazon Cognito user pools and their client IDs.
This is a convenience method that creates an instance of theCognitoIdentityProvider.Builder
avoiding the need to create one manually viaCognitoIdentityProvider.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocognitoIdentityProviders(List<CognitoIdentityProvider>)
.- Parameters:
cognitoIdentityProviders
- a consumer that will call methods onCognitoIdentityProvider.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
samlProviderARNs
An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.
- Parameters:
samlProviderARNs
- An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.- Returns:
- 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.
- Parameters:
samlProviderARNs
- An array of Amazon Resource Names (ARNs) of the SAML provider for your identity pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityPoolTags
Tags to assign 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.
- Parameters:
identityPoolTags
- Tags to assign 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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateIdentityPoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateIdentityPoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-