Interface CreateUserPoolDomainRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<CreateUserPoolDomainRequest.Builder,CreateUserPoolDomainRequest>,SdkBuilder<CreateUserPoolDomainRequest.Builder,CreateUserPoolDomainRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateUserPoolDomainRequest
public static interface CreateUserPoolDomainRequest.Builder extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<CreateUserPoolDomainRequest.Builder,CreateUserPoolDomainRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
domain
CreateUserPoolDomainRequest.Builder domain(String domain)
The domain string. For custom domains, this is the fully-qualified domain name, such as
auth.example.com. For prefix domains, this is the prefix alone, such asmyprefix. A prefix value ofmyprefixfor a user pool in the us-east-1 Region results in a domain ofmyprefix.auth.us-east-1.amazoncognito.com.- Parameters:
domain- The domain string. For custom domains, this is the fully-qualified domain name, such asauth.example.com. For prefix domains, this is the prefix alone, such asmyprefix. A prefix value ofmyprefixfor a user pool in the us-east-1 Region results in a domain ofmyprefix.auth.us-east-1.amazoncognito.com.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPoolId
CreateUserPoolDomainRequest.Builder userPoolId(String userPoolId)
The ID of the user pool where you want to add a domain.
- Parameters:
userPoolId- The ID of the user pool where you want to add a domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedLoginVersion
CreateUserPoolDomainRequest.Builder managedLoginVersion(Integer managedLoginVersion)
The version of managed login branding that you want to apply to your domain. A value of
1indicates hosted UI (classic) and a version of2indicates managed login.Managed login requires that your user pool be configured for any feature plan other than
Lite.- Parameters:
managedLoginVersion- The version of managed login branding that you want to apply to your domain. A value of1indicates hosted UI (classic) and a version of2indicates managed login.Managed login requires that your user pool be configured for any feature plan other than
Lite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDomainConfig
CreateUserPoolDomainRequest.Builder customDomainConfig(CustomDomainConfigType customDomainConfig)
The configuration for a custom domain. Configures your domain with an Certificate Manager certificate in the
us-east-1Region.Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use a prefix 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. Configures your domain with an Certificate Manager certificate in theus-east-1Region.Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use a prefix 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. Configures your domain with an Certificate Manager certificate in the
us-east-1Region.Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use a prefix 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:
customDomainConfig(CustomDomainConfigType)
-
overrideConfiguration
CreateUserPoolDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateUserPoolDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-