Class CfnUserPoolDomainProps.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolDomainProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolDomainProps>
- Enclosing interface:
CfnUserPoolDomainProps
@Stability(Stable)
public static final class CfnUserPoolDomainProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolDomainProps>
A builder for
CfnUserPoolDomainProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customDomainConfig
(IResolvable customDomainConfig) Sets the value ofCfnUserPoolDomainProps.getCustomDomainConfig()
customDomainConfig
(CfnUserPoolDomain.CustomDomainConfigTypeProperty customDomainConfig) Sets the value ofCfnUserPoolDomainProps.getCustomDomainConfig()
Sets the value ofCfnUserPoolDomainProps.getDomain()
userPoolId
(String userPoolId) Sets the value ofCfnUserPoolDomainProps.getUserPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domain
Sets the value ofCfnUserPoolDomainProps.getDomain()
- Parameters:
domain
- The domain name for the custom domain that hosts the sign-up and sign-in pages for your application. This parameter is required. One example might beauth.example.com
.This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.
- Returns:
this
-
userPoolId
Sets the value ofCfnUserPoolDomainProps.getUserPoolId()
- Parameters:
userPoolId
- The ID of the user pool that is associated with the custom domain whose certificate you're updating. This parameter is required.- Returns:
this
-
customDomainConfig
@Stability(Stable) public CfnUserPoolDomainProps.Builder customDomainConfig(IResolvable customDomainConfig) Sets the value ofCfnUserPoolDomainProps.getCustomDomainConfig()
- Parameters:
customDomainConfig
- The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.- Returns:
this
-
customDomainConfig
@Stability(Stable) public CfnUserPoolDomainProps.Builder customDomainConfig(CfnUserPoolDomain.CustomDomainConfigTypeProperty customDomainConfig) Sets the value ofCfnUserPoolDomainProps.getCustomDomainConfig()
- Parameters:
customDomainConfig
- The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPoolDomainProps>
- Returns:
- a new instance of
CfnUserPoolDomainProps
- Throws:
NullPointerException
- if any required attribute was not provided
-