Class CfnTemplate.PrivateKeyFlagsV4Property.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.PrivateKeyFlagsV4Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.PrivateKeyFlagsV4Property>
- Enclosing interface:
CfnTemplate.PrivateKeyFlagsV4Property
@Stability(Stable)
public static final class CfnTemplate.PrivateKeyFlagsV4Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.PrivateKeyFlagsV4Property>
A builder for
CfnTemplate.PrivateKeyFlagsV4Property
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.clientVersion
(String clientVersion) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getClientVersion()
exportableKey
(Boolean exportableKey) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getExportableKey()
exportableKey
(IResolvable exportableKey) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getExportableKey()
requireAlternateSignatureAlgorithm
(Boolean requireAlternateSignatureAlgorithm) requireAlternateSignatureAlgorithm
(IResolvable requireAlternateSignatureAlgorithm) requireSameKeyRenewal
(Boolean requireSameKeyRenewal) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getRequireSameKeyRenewal()
requireSameKeyRenewal
(IResolvable requireSameKeyRenewal) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getRequireSameKeyRenewal()
strongKeyProtectionRequired
(Boolean strongKeyProtectionRequired) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getStrongKeyProtectionRequired()
strongKeyProtectionRequired
(IResolvable strongKeyProtectionRequired) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getStrongKeyProtectionRequired()
useLegacyProvider
(Boolean useLegacyProvider) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getUseLegacyProvider()
useLegacyProvider
(IResolvable useLegacyProvider) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getUseLegacyProvider()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientVersion
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV4Property.Builder clientVersion(String clientVersion) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getClientVersion()
- Parameters:
clientVersion
- Defines the minimum client compatibility. This parameter is required.- Returns:
this
-
exportableKey
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV4Property.Builder exportableKey(Boolean exportableKey) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getExportableKey()
- Parameters:
exportableKey
- Allows the private key to be exported.- Returns:
this
-
exportableKey
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV4Property.Builder exportableKey(IResolvable exportableKey) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getExportableKey()
- Parameters:
exportableKey
- Allows the private key to be exported.- Returns:
this
-
requireAlternateSignatureAlgorithm
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV4Property.Builder requireAlternateSignatureAlgorithm(Boolean requireAlternateSignatureAlgorithm) - Parameters:
requireAlternateSignatureAlgorithm
- Requires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and applications can accept this signature format.- Returns:
this
-
requireAlternateSignatureAlgorithm
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV4Property.Builder requireAlternateSignatureAlgorithm(IResolvable requireAlternateSignatureAlgorithm) - Parameters:
requireAlternateSignatureAlgorithm
- Requires the PKCS #1 v2.1 signature format for certificates. You should verify that your CA, objects, and applications can accept this signature format.- Returns:
this
-
requireSameKeyRenewal
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV4Property.Builder requireSameKeyRenewal(Boolean requireSameKeyRenewal) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getRequireSameKeyRenewal()
- Parameters:
requireSameKeyRenewal
- Renew certificate using the same private key.- Returns:
this
-
requireSameKeyRenewal
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV4Property.Builder requireSameKeyRenewal(IResolvable requireSameKeyRenewal) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getRequireSameKeyRenewal()
- Parameters:
requireSameKeyRenewal
- Renew certificate using the same private key.- Returns:
this
-
strongKeyProtectionRequired
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV4Property.Builder strongKeyProtectionRequired(Boolean strongKeyProtectionRequired) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getStrongKeyProtectionRequired()
- Parameters:
strongKeyProtectionRequired
- Require user input when using the private key for enrollment.- Returns:
this
-
strongKeyProtectionRequired
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV4Property.Builder strongKeyProtectionRequired(IResolvable strongKeyProtectionRequired) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getStrongKeyProtectionRequired()
- Parameters:
strongKeyProtectionRequired
- Require user input when using the private key for enrollment.- Returns:
this
-
useLegacyProvider
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV4Property.Builder useLegacyProvider(Boolean useLegacyProvider) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getUseLegacyProvider()
- Parameters:
useLegacyProvider
- Specifies the cryptographic service provider category used to generate private keys. Set to TRUE to use Legacy Cryptographic Service Providers and FALSE to use Key Storage Providers.- Returns:
this
-
useLegacyProvider
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV4Property.Builder useLegacyProvider(IResolvable useLegacyProvider) Sets the value ofCfnTemplate.PrivateKeyFlagsV4Property.getUseLegacyProvider()
- Parameters:
useLegacyProvider
- Specifies the cryptographic service provider category used to generate private keys. Set to TRUE to use Legacy Cryptographic Service Providers and FALSE to use Key Storage Providers.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.PrivateKeyFlagsV4Property>
- Returns:
- a new instance of
CfnTemplate.PrivateKeyFlagsV4Property
- Throws:
NullPointerException
- if any required attribute was not provided
-