public static final class UserPoolDomainOptions.Builder
extends java.lang.Object
UserPoolDomainOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UserPoolDomainOptions |
build()
Builds the configured instance.
|
UserPoolDomainOptions.Builder |
cognitoDomain(CognitoDomainOptions cognitoDomain)
Sets the value of
UserPoolDomainOptions.getCognitoDomain() |
UserPoolDomainOptions.Builder |
customDomain(CustomDomainOptions customDomain)
Sets the value of
UserPoolDomainOptions.getCustomDomain() |
public UserPoolDomainOptions.Builder cognitoDomain(CognitoDomainOptions cognitoDomain)
UserPoolDomainOptions.getCognitoDomain()
cognitoDomain
- Associate a cognito prefix domain with your user pool Either `customDomain` or `cognitoDomain` must be specified.this
public UserPoolDomainOptions.Builder customDomain(CustomDomainOptions customDomain)
UserPoolDomainOptions.getCustomDomain()
customDomain
- Associate a custom domain with your user pool Either `customDomain` or `cognitoDomain` must be specified.this
public UserPoolDomainOptions build()
UserPoolDomainOptions
java.lang.NullPointerException
- if any required attribute was not provided