Class CfnTemplate.PrivateKeyFlagsV3Property.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.PrivateKeyFlagsV3Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.PrivateKeyFlagsV3Property>
- Enclosing interface:
CfnTemplate.PrivateKeyFlagsV3Property
@Stability(Stable)
public static final class CfnTemplate.PrivateKeyFlagsV3Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.PrivateKeyFlagsV3Property>
A builder for
CfnTemplate.PrivateKeyFlagsV3Property-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clientVersion(String clientVersion) Sets the value ofCfnTemplate.PrivateKeyFlagsV3Property.getClientVersion()exportableKey(Boolean exportableKey) Sets the value ofCfnTemplate.PrivateKeyFlagsV3Property.getExportableKey()exportableKey(IResolvable exportableKey) Sets the value ofCfnTemplate.PrivateKeyFlagsV3Property.getExportableKey()requireAlternateSignatureAlgorithm(Boolean requireAlternateSignatureAlgorithm) requireAlternateSignatureAlgorithm(IResolvable requireAlternateSignatureAlgorithm) strongKeyProtectionRequired(Boolean strongKeyProtectionRequired) Sets the value ofCfnTemplate.PrivateKeyFlagsV3Property.getStrongKeyProtectionRequired()strongKeyProtectionRequired(IResolvable strongKeyProtectionRequired) Sets the value ofCfnTemplate.PrivateKeyFlagsV3Property.getStrongKeyProtectionRequired()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientVersion
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV3Property.Builder clientVersion(String clientVersion) Sets the value ofCfnTemplate.PrivateKeyFlagsV3Property.getClientVersion()- Parameters:
clientVersion- Defines the minimum client compatibility. This parameter is required.- Returns:
this
-
exportableKey
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV3Property.Builder exportableKey(Boolean exportableKey) Sets the value ofCfnTemplate.PrivateKeyFlagsV3Property.getExportableKey()- Parameters:
exportableKey- Allows the private key to be exported.- Returns:
this
-
exportableKey
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV3Property.Builder exportableKey(IResolvable exportableKey) Sets the value ofCfnTemplate.PrivateKeyFlagsV3Property.getExportableKey()- Parameters:
exportableKey- Allows the private key to be exported.- Returns:
this
-
requireAlternateSignatureAlgorithm
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV3Property.Builder requireAlternateSignatureAlgorithm(Boolean requireAlternateSignatureAlgorithm) - Parameters:
requireAlternateSignatureAlgorithm- Reguires 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.PrivateKeyFlagsV3Property.Builder requireAlternateSignatureAlgorithm(IResolvable requireAlternateSignatureAlgorithm) - Parameters:
requireAlternateSignatureAlgorithm- Reguires 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
-
strongKeyProtectionRequired
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV3Property.Builder strongKeyProtectionRequired(Boolean strongKeyProtectionRequired) Sets the value ofCfnTemplate.PrivateKeyFlagsV3Property.getStrongKeyProtectionRequired()- Parameters:
strongKeyProtectionRequired- Requirer user input when using the private key for enrollment.- Returns:
this
-
strongKeyProtectionRequired
@Stability(Stable) public CfnTemplate.PrivateKeyFlagsV3Property.Builder strongKeyProtectionRequired(IResolvable strongKeyProtectionRequired) Sets the value ofCfnTemplate.PrivateKeyFlagsV3Property.getStrongKeyProtectionRequired()- Parameters:
strongKeyProtectionRequired- Requirer user input when using the private key for enrollment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.PrivateKeyFlagsV3Property>- Returns:
- a new instance of
CfnTemplate.PrivateKeyFlagsV3Property - Throws:
NullPointerException- if any required attribute was not provided
-