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