public static final class UserPoolDomainProps.Builder
extends java.lang.Object
UserPoolDomainProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UserPoolDomainProps |
build()
Builds the configured instance.
|
UserPoolDomainProps.Builder |
cognitoDomain(CognitoDomainOptions cognitoDomain)
Sets the value of
UserPoolDomainOptions.getCognitoDomain() |
UserPoolDomainProps.Builder |
customDomain(CustomDomainOptions customDomain)
Sets the value of
UserPoolDomainOptions.getCustomDomain() |
UserPoolDomainProps.Builder |
userPool(IUserPool userPool)
Sets the value of
UserPoolDomainProps.getUserPool() |
public UserPoolDomainProps.Builder userPool(IUserPool userPool)
UserPoolDomainProps.getUserPool()
userPool
- The user pool to which this domain should be associated. This parameter is required.this
public UserPoolDomainProps.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 UserPoolDomainProps.Builder customDomain(CustomDomainOptions customDomain)
UserPoolDomainOptions.getCustomDomain()
customDomain
- Associate a custom domain with your user pool Either `customDomain` or `cognitoDomain` must be specified.this
public UserPoolDomainProps build()
UserPoolDomainProps
java.lang.NullPointerException
- if any required attribute was not provided