Class CfnTemplate.KeyUsageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.KeyUsageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.KeyUsageProperty>
- Enclosing interface:
CfnTemplate.KeyUsageProperty
@Stability(Stable)
public static final class CfnTemplate.KeyUsageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.KeyUsageProperty>
A builder for
CfnTemplate.KeyUsageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplate.KeyUsageProperty.getCritical()critical(IResolvable critical) Sets the value ofCfnTemplate.KeyUsageProperty.getCritical()usageFlags(IResolvable usageFlags) Sets the value ofCfnTemplate.KeyUsageProperty.getUsageFlags()usageFlags(CfnTemplate.KeyUsageFlagsProperty usageFlags) Sets the value ofCfnTemplate.KeyUsageProperty.getUsageFlags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
usageFlags
Sets the value ofCfnTemplate.KeyUsageProperty.getUsageFlags()- Parameters:
usageFlags- The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the certificate. This parameter is required.- Returns:
this
-
usageFlags
@Stability(Stable) public CfnTemplate.KeyUsageProperty.Builder usageFlags(CfnTemplate.KeyUsageFlagsProperty usageFlags) Sets the value ofCfnTemplate.KeyUsageProperty.getUsageFlags()- Parameters:
usageFlags- The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the certificate. This parameter is required.- Returns:
this
-
critical
Sets the value ofCfnTemplate.KeyUsageProperty.getCritical()- Parameters:
critical- Sets the key usage extension to critical.- Returns:
this
-
critical
Sets the value ofCfnTemplate.KeyUsageProperty.getCritical()- Parameters:
critical- Sets the key usage extension to critical.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.KeyUsageProperty>- Returns:
- a new instance of
CfnTemplate.KeyUsageProperty - Throws:
NullPointerException- if any required attribute was not provided
-