Interface CreateUserPoolDomainRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CognitoIdentityProviderRequest.Builder
,CopyableBuilder<CreateUserPoolDomainRequest.Builder,
,CreateUserPoolDomainRequest> SdkBuilder<CreateUserPoolDomainRequest.Builder,
,CreateUserPoolDomainRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateUserPoolDomainRequest
-
Method Summary
Modifier and TypeMethodDescriptioncustomDomainConfig
(Consumer<CustomDomainConfigType.Builder> customDomainConfig) The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.customDomainConfig
(CustomDomainConfigType customDomainConfig) The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.The domain string.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.userPoolId
(String userPoolId) The user pool ID.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.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
-
domain
The domain string. For custom domains, this is the fully-qualified domain name, such as
auth.example.com
. For Amazon Cognito prefix domains, this is the prefix alone, such asauth
.- Parameters:
domain
- The domain string. For custom domains, this is the fully-qualified domain name, such asauth.example.com
. For Amazon Cognito prefix domains, this is the prefix alone, such asauth
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPoolId
The user pool ID.
- Parameters:
userPoolId
- The user pool ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDomainConfig
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
- Parameters:
customDomainConfig
- The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDomainConfig
default CreateUserPoolDomainRequest.Builder customDomainConfig(Consumer<CustomDomainConfigType.Builder> customDomainConfig) The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
This is a convenience method that creates an instance of theCustomDomainConfigType.Builder
avoiding the need to create one manually viaCustomDomainConfigType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomDomainConfig(CustomDomainConfigType)
.- Parameters:
customDomainConfig
- a consumer that will call methods onCustomDomainConfigType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateUserPoolDomainRequest.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
CreateUserPoolDomainRequest.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.
-