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