Class UserPoolDomainReference.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.UserPoolDomainReference.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<UserPoolDomainReference>
- Enclosing interface:
 UserPoolDomainReference
@Stability(Stable)
public static final class UserPoolDomainReference.Builder
extends Object
implements software.amazon.jsii.Builder<UserPoolDomainReference>
A builder for 
UserPoolDomainReference- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofUserPoolDomainReference.getDomain()userPoolId(String userPoolId) Sets the value ofUserPoolDomainReference.getUserPoolId() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
domain
Sets the value ofUserPoolDomainReference.getDomain()- Parameters:
 domain- The Domain of the UserPoolDomain resource. This parameter is required.- Returns:
 this
 - 
userPoolId
Sets the value ofUserPoolDomainReference.getUserPoolId()- Parameters:
 userPoolId- The UserPoolId of the UserPoolDomain resource. This parameter is required.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<UserPoolDomainReference>- Returns:
 - a new instance of 
UserPoolDomainReference - Throws:
 NullPointerException- if any required attribute was not provided
 
 -