Class CfnUserPoolPropsMixin.KeyConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolPropsMixin.KeyConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolPropsMixin.KeyConfigurationProperty>
- Enclosing interface:
CfnUserPoolPropsMixin.KeyConfigurationProperty
@Stability(Stable)
public static final class CfnUserPoolPropsMixin.KeyConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolPropsMixin.KeyConfigurationProperty>
A builder for
CfnUserPoolPropsMixin.KeyConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUserPoolPropsMixin.KeyConfigurationProperty.getKeyType()Sets the value ofCfnUserPoolPropsMixin.KeyConfigurationProperty.getKmsKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyType
@Stability(Stable) public CfnUserPoolPropsMixin.KeyConfigurationProperty.Builder keyType(String keyType) Sets the value ofCfnUserPoolPropsMixin.KeyConfigurationProperty.getKeyType()- Parameters:
keyType- the value to be set.- Returns:
this
-
kmsKeyArn
@Stability(Stable) public CfnUserPoolPropsMixin.KeyConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnUserPoolPropsMixin.KeyConfigurationProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolPropsMixin.KeyConfigurationProperty>- Returns:
- a new instance of
CfnUserPoolPropsMixin.KeyConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-