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
Constructors -
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 ID of the user pool where you want to apply branding to the classic hosted UI. This parameter is required.- Returns:
this
-
css
Sets the value ofCfnUserPoolUICustomizationAttachmentProps.getCss()- Parameters:
css- A plaintext CSS file that contains the custom fields that you want to apply to your user pool or app client. To download a template, go to the Amazon Cognito console. Navigate to your user pool App clients tab, select Login pages , edit Hosted UI (classic) style , and select the link toCSS template.css.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolUICustomizationAttachmentProps>- Returns:
- a new instance of
CfnUserPoolUICustomizationAttachmentProps - Throws:
NullPointerException- if any required attribute was not provided
-