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