Class CfnTemplatePropsMixin.KeyUsagePropertyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcaconnectorad.CfnTemplatePropsMixin.KeyUsagePropertyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.KeyUsagePropertyProperty>
- Enclosing interface:
CfnTemplatePropsMixin.KeyUsagePropertyProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.KeyUsagePropertyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.KeyUsagePropertyProperty>
A builder for
CfnTemplatePropsMixin.KeyUsagePropertyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.propertyFlags(CfnTemplatePropsMixin.KeyUsagePropertyFlagsProperty propertyFlags) Sets the value ofCfnTemplatePropsMixin.KeyUsagePropertyProperty.getPropertyFlags()propertyFlags(IResolvable propertyFlags) Sets the value ofCfnTemplatePropsMixin.KeyUsagePropertyProperty.getPropertyFlags()propertyType(String propertyType) Sets the value ofCfnTemplatePropsMixin.KeyUsagePropertyProperty.getPropertyType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
propertyFlags
@Stability(Stable) public CfnTemplatePropsMixin.KeyUsagePropertyProperty.Builder propertyFlags(IResolvable propertyFlags) Sets the value ofCfnTemplatePropsMixin.KeyUsagePropertyProperty.getPropertyFlags()- Parameters:
propertyFlags- You can specify key usage for encryption, key agreement, and signature. You can use property flags or property type but not both.- Returns:
this
-
propertyFlags
@Stability(Stable) public CfnTemplatePropsMixin.KeyUsagePropertyProperty.Builder propertyFlags(CfnTemplatePropsMixin.KeyUsagePropertyFlagsProperty propertyFlags) Sets the value ofCfnTemplatePropsMixin.KeyUsagePropertyProperty.getPropertyFlags()- Parameters:
propertyFlags- You can specify key usage for encryption, key agreement, and signature. You can use property flags or property type but not both.- Returns:
this
-
propertyType
@Stability(Stable) public CfnTemplatePropsMixin.KeyUsagePropertyProperty.Builder propertyType(String propertyType) Sets the value ofCfnTemplatePropsMixin.KeyUsagePropertyProperty.getPropertyType()- Parameters:
propertyType- You can specify all key usages using property type ALL. You can use property type or property flags but not both.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.KeyUsagePropertyProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.KeyUsagePropertyProperty - Throws:
NullPointerException- if any required attribute was not provided
-