Class CfnUserPoolUICustomizationAttachmentProps.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolUICustomizationAttachmentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolUICustomizationAttachmentProps>
- Enclosing interface:
CfnUserPoolUICustomizationAttachmentProps
@Stability(Stable)
public static final class CfnUserPoolUICustomizationAttachmentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolUICustomizationAttachmentProps>
A builder for
CfnUserPoolUICustomizationAttachmentProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnUserPoolUICustomizationAttachmentProps.getClientId()
Sets the value ofCfnUserPoolUICustomizationAttachmentProps.getCss()
userPoolId
(String userPoolId) Sets the value ofCfnUserPoolUICustomizationAttachmentProps.getUserPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientId
@Stability(Stable) public CfnUserPoolUICustomizationAttachmentProps.Builder clientId(String clientId) Sets the value ofCfnUserPoolUICustomizationAttachmentProps.getClientId()
- Parameters:
clientId
- The app client ID for your UI customization. This parameter is required. When this value isn't present, the customization applies to all user pool app clients that don't have client-level settings..- Returns:
this
-
userPoolId
@Stability(Stable) public CfnUserPoolUICustomizationAttachmentProps.Builder userPoolId(String userPoolId) Sets the value ofCfnUserPoolUICustomizationAttachmentProps.getUserPoolId()
- Parameters:
userPoolId
- The user pool ID for the user pool. This parameter is required.- Returns:
this
-
css
Sets the value ofCfnUserPoolUICustomizationAttachmentProps.getCss()
- Parameters:
css
- The CSS values in the UI customization.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPoolUICustomizationAttachmentProps>
- Returns:
- a new instance of
CfnUserPoolUICustomizationAttachmentProps
- Throws:
NullPointerException
- if any required attribute was not provided
-