Class CfnTemplatePropsMixin.PrivateKeyAttributesV2Property.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcaconnectorad.CfnTemplatePropsMixin.PrivateKeyAttributesV2Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.PrivateKeyAttributesV2Property>
- Enclosing interface:
CfnTemplatePropsMixin.PrivateKeyAttributesV2Property
@Stability(Stable)
public static final class CfnTemplatePropsMixin.PrivateKeyAttributesV2Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.PrivateKeyAttributesV2Property>
A builder for
CfnTemplatePropsMixin.PrivateKeyAttributesV2Property-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cryptoProviders(List<String> cryptoProviders) Sets the value ofCfnTemplatePropsMixin.PrivateKeyAttributesV2Property.getKeySpec()minimalKeyLength(Number minimalKeyLength)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cryptoProviders
@Stability(Stable) public CfnTemplatePropsMixin.PrivateKeyAttributesV2Property.Builder cryptoProviders(List<String> cryptoProviders) - Parameters:
cryptoProviders- Defines the cryptographic providers used to generate the private key.- Returns:
this
-
keySpec
@Stability(Stable) public CfnTemplatePropsMixin.PrivateKeyAttributesV2Property.Builder keySpec(String keySpec) Sets the value ofCfnTemplatePropsMixin.PrivateKeyAttributesV2Property.getKeySpec()- Parameters:
keySpec- Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.- Returns:
this
-
minimalKeyLength
@Stability(Stable) public CfnTemplatePropsMixin.PrivateKeyAttributesV2Property.Builder minimalKeyLength(Number minimalKeyLength) - Parameters:
minimalKeyLength- Set the minimum key length of the private key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.PrivateKeyAttributesV2Property>- Returns:
- a new instance of
CfnTemplatePropsMixin.PrivateKeyAttributesV2Property - Throws:
NullPointerException- if any required attribute was not provided
-