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