Class CfnUserPoolUICustomizationAttachmentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolUICustomizationAttachmentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolUICustomizationAttachmentMixinProps>
- Enclosing interface:
CfnUserPoolUICustomizationAttachmentMixinProps
@Stability(Stable)
public static final class CfnUserPoolUICustomizationAttachmentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolUICustomizationAttachmentMixinProps>
A builder for
CfnUserPoolUICustomizationAttachmentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUserPoolUICustomizationAttachmentMixinProps.getClientId()Sets the value ofCfnUserPoolUICustomizationAttachmentMixinProps.getCss()userPoolId(String userPoolId) Sets the value ofCfnUserPoolUICustomizationAttachmentMixinProps.getUserPoolId()userPoolId(IUserPoolRef userPoolId) Sets the value ofCfnUserPoolUICustomizationAttachmentMixinProps.getUserPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientId
@Stability(Stable) public CfnUserPoolUICustomizationAttachmentMixinProps.Builder clientId(String clientId) Sets the value ofCfnUserPoolUICustomizationAttachmentMixinProps.getClientId()- Parameters:
clientId- The app client ID for your UI customization. When this value isn't present, the customization applies to all user pool app clients that don't have client-level settings..- Returns:
this
-
css
Sets the value ofCfnUserPoolUICustomizationAttachmentMixinProps.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
-
userPoolId
@Stability(Stable) public CfnUserPoolUICustomizationAttachmentMixinProps.Builder userPoolId(String userPoolId) Sets the value ofCfnUserPoolUICustomizationAttachmentMixinProps.getUserPoolId()- Parameters:
userPoolId- The ID of the user pool where you want to apply branding to the classic hosted UI.- Returns:
this
-
userPoolId
@Stability(Stable) public CfnUserPoolUICustomizationAttachmentMixinProps.Builder userPoolId(IUserPoolRef userPoolId) Sets the value ofCfnUserPoolUICustomizationAttachmentMixinProps.getUserPoolId()- Parameters:
userPoolId- The ID of the user pool where you want to apply branding to the classic hosted UI.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolUICustomizationAttachmentMixinProps>- Returns:
- a new instance of
CfnUserPoolUICustomizationAttachmentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-