Class CfnTemplate.PrivateKeyAttributesV4Property.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.PrivateKeyAttributesV4Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.PrivateKeyAttributesV4Property>
- Enclosing interface:
CfnTemplate.PrivateKeyAttributesV4Property
@Stability(Stable)
public static final class CfnTemplate.PrivateKeyAttributesV4Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.PrivateKeyAttributesV4Property>
A builder for
CfnTemplate.PrivateKeyAttributesV4Property-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getAlgorithm()build()Builds the configured instance.cryptoProviders(List<String> cryptoProviders) Sets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getCryptoProviders()Sets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getKeySpec()keyUsageProperty(IResolvable keyUsageProperty) Sets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getKeyUsageProperty()keyUsageProperty(CfnTemplate.KeyUsagePropertyProperty keyUsageProperty) Sets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getKeyUsageProperty()minimalKeyLength(Number minimalKeyLength) Sets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getMinimalKeyLength()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keySpec
@Stability(Stable) public CfnTemplate.PrivateKeyAttributesV4Property.Builder keySpec(String keySpec) Sets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getKeySpec()- Parameters:
keySpec- Defines the purpose of the private key. This parameter is required. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.- Returns:
this
-
minimalKeyLength
@Stability(Stable) public CfnTemplate.PrivateKeyAttributesV4Property.Builder minimalKeyLength(Number minimalKeyLength) Sets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getMinimalKeyLength()- Parameters:
minimalKeyLength- Set the minimum key length of the private key. This parameter is required.- Returns:
this
-
algorithm
@Stability(Stable) public CfnTemplate.PrivateKeyAttributesV4Property.Builder algorithm(String algorithm) Sets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getAlgorithm()- Parameters:
algorithm- Defines the algorithm used to generate the private key.- Returns:
this
-
cryptoProviders
@Stability(Stable) public CfnTemplate.PrivateKeyAttributesV4Property.Builder cryptoProviders(List<String> cryptoProviders) Sets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getCryptoProviders()- Parameters:
cryptoProviders- Defines the cryptographic providers used to generate the private key.- Returns:
this
-
keyUsageProperty
@Stability(Stable) public CfnTemplate.PrivateKeyAttributesV4Property.Builder keyUsageProperty(IResolvable keyUsageProperty) Sets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getKeyUsageProperty()- Parameters:
keyUsageProperty- The key usage property defines the purpose of the private key contained in the certificate. You can specify specific purposes using property flags or all by using property type ALL.- Returns:
this
-
keyUsageProperty
@Stability(Stable) public CfnTemplate.PrivateKeyAttributesV4Property.Builder keyUsageProperty(CfnTemplate.KeyUsagePropertyProperty keyUsageProperty) Sets the value ofCfnTemplate.PrivateKeyAttributesV4Property.getKeyUsageProperty()- Parameters:
keyUsageProperty- The key usage property defines the purpose of the private key contained in the certificate. You can specify specific purposes using property flags or all by using property type ALL.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.PrivateKeyAttributesV4Property>- Returns:
- a new instance of
CfnTemplate.PrivateKeyAttributesV4Property - Throws:
NullPointerException- if any required attribute was not provided
-