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