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 client ID for the client app. This parameter is required. You can specify the UI customization settings for a single client (with a specific clientId) or for all clients (by setting the clientId toALL
).- 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
-