Interface UpdateIdentityPoolResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityResponse.Builder
,CopyableBuilder<UpdateIdentityPoolResponse.Builder,
,UpdateIdentityPoolResponse> SdkBuilder<UpdateIdentityPoolResponse.Builder,
,UpdateIdentityPoolResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateIdentityPoolResponse
-
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) A list representing an Amazon Cognito user pool and its client ID.cognitoIdentityProviders
(Consumer<CognitoIdentityProvider.Builder>... cognitoIdentityProviders) A list representing an Amazon Cognito user pool and its client ID.cognitoIdentityProviders
(CognitoIdentityProvider... cognitoIdentityProviders) A list representing an Amazon Cognito user pool and its client ID.developerProviderName
(String developerProviderName) The "domain" by which Cognito will refer to your users.identityPoolId
(String identityPoolId) An identity pool ID in the format REGION:GUID.identityPoolName
(String identityPoolName) A string that you provide.identityPoolTags
(Map<String, String> identityPoolTags) The tags that are assigned to the identity pool.openIdConnectProviderARNs
(String... openIdConnectProviderARNs) The ARNs of the OpenID Connect providers.openIdConnectProviderARNs
(Collection<String> openIdConnectProviderARNs) The ARNs of the OpenID Connect providers.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.services.cognitoidentity.model.CognitoIdentityResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
identityPoolId
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.
-
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
UpdateIdentityPoolResponse.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
UpdateIdentityPoolResponse.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.
- 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.
-
openIdConnectProviderARNs
UpdateIdentityPoolResponse.Builder openIdConnectProviderARNs(Collection<String> openIdConnectProviderARNs) The ARNs of the OpenID Connect providers.
- Parameters:
openIdConnectProviderARNs
- The ARNs of the OpenID Connect providers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openIdConnectProviderARNs
The ARNs of the OpenID Connect providers.
- Parameters:
openIdConnectProviderARNs
- The ARNs of the OpenID Connect providers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoIdentityProviders
UpdateIdentityPoolResponse.Builder cognitoIdentityProviders(Collection<CognitoIdentityProvider> cognitoIdentityProviders) A list representing an Amazon Cognito user pool and its client ID.
- Parameters:
cognitoIdentityProviders
- A list representing an Amazon Cognito user pool and its client ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoIdentityProviders
UpdateIdentityPoolResponse.Builder cognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders) A list representing an Amazon Cognito user pool and its client ID.
- Parameters:
cognitoIdentityProviders
- A list representing an Amazon Cognito user pool and its client ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoIdentityProviders
UpdateIdentityPoolResponse.Builder cognitoIdentityProviders(Consumer<CognitoIdentityProvider.Builder>... cognitoIdentityProviders) A list representing an Amazon Cognito user pool and its client ID.
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
The tags that are assigned 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
- The tags that are assigned 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.
-