Class CustomDomainOptions.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CustomDomainOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CustomDomainOptions>
- Enclosing interface:
CustomDomainOptions
@Stability(Stable)
public static final class CustomDomainOptions.Builder
extends Object
implements software.amazon.jsii.Builder<CustomDomainOptions>
A builder for
CustomDomainOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.certificate
(ICertificate certificate) Sets the value ofCustomDomainOptions.getCertificate()
domainName
(String domainName) Sets the value ofCustomDomainOptions.getDomainName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
certificate
Sets the value ofCustomDomainOptions.getCertificate()
- Parameters:
certificate
- The certificate to associate with this domain. This parameter is required.- Returns:
this
-
domainName
Sets the value ofCustomDomainOptions.getDomainName()
- Parameters:
domainName
- The custom domain name that you would like to associate with this User Pool. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CustomDomainOptions>
- Returns:
- a new instance of
CustomDomainOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-