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