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