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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaCustomDomainConfigType.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-