Class CognitoDomainOptions.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CognitoDomainOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CognitoDomainOptions>
- Enclosing interface:
CognitoDomainOptions
@Stability(Stable)
public static final class CognitoDomainOptions.Builder
extends Object
implements software.amazon.jsii.Builder<CognitoDomainOptions>
A builder for
CognitoDomainOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainPrefix
(String domainPrefix) Sets the value ofCognitoDomainOptions.getDomainPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainPrefix
Sets the value ofCognitoDomainOptions.getDomainPrefix()
- Parameters:
domainPrefix
- The prefix to the Cognito hosted domain name that will be associated with the user pool. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CognitoDomainOptions>
- Returns:
- a new instance of
CognitoDomainOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-