Class CfnTemplate.KeyUsagePropertyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.KeyUsagePropertyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.KeyUsagePropertyProperty>
- Enclosing interface:
CfnTemplate.KeyUsagePropertyProperty
@Stability(Stable)
public static final class CfnTemplate.KeyUsagePropertyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.KeyUsagePropertyProperty>
A builder for
CfnTemplate.KeyUsagePropertyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.propertyFlags
(IResolvable propertyFlags) Sets the value ofCfnTemplate.KeyUsagePropertyProperty.getPropertyFlags()
propertyFlags
(CfnTemplate.KeyUsagePropertyFlagsProperty propertyFlags) Sets the value ofCfnTemplate.KeyUsagePropertyProperty.getPropertyFlags()
propertyType
(String propertyType) Sets the value ofCfnTemplate.KeyUsagePropertyProperty.getPropertyType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
propertyFlags
@Stability(Stable) public CfnTemplate.KeyUsagePropertyProperty.Builder propertyFlags(IResolvable propertyFlags) Sets the value ofCfnTemplate.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 CfnTemplate.KeyUsagePropertyProperty.Builder propertyFlags(CfnTemplate.KeyUsagePropertyFlagsProperty propertyFlags) Sets the value ofCfnTemplate.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 CfnTemplate.KeyUsagePropertyProperty.Builder propertyType(String propertyType) Sets the value ofCfnTemplate.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.KeyUsagePropertyProperty>
- Returns:
- a new instance of
CfnTemplate.KeyUsagePropertyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-