Class CfnTemplate.ExtensionsV2Property.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.ExtensionsV2Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.ExtensionsV2Property>
- Enclosing interface:
CfnTemplate.ExtensionsV2Property
@Stability(Stable)
public static final class CfnTemplate.ExtensionsV2Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.ExtensionsV2Property>
A builder for
CfnTemplate.ExtensionsV2Property
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationPolicies
(IResolvable applicationPolicies) Sets the value ofCfnTemplate.ExtensionsV2Property.getApplicationPolicies()
applicationPolicies
(CfnTemplate.ApplicationPoliciesProperty applicationPolicies) Sets the value ofCfnTemplate.ExtensionsV2Property.getApplicationPolicies()
build()
Builds the configured instance.keyUsage
(IResolvable keyUsage) Sets the value ofCfnTemplate.ExtensionsV2Property.getKeyUsage()
keyUsage
(CfnTemplate.KeyUsageProperty keyUsage) Sets the value ofCfnTemplate.ExtensionsV2Property.getKeyUsage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
keyUsage
Sets the value ofCfnTemplate.ExtensionsV2Property.getKeyUsage()
- Parameters:
keyUsage
- The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in the certificate. This parameter is required.- Returns:
this
-
keyUsage
@Stability(Stable) public CfnTemplate.ExtensionsV2Property.Builder keyUsage(CfnTemplate.KeyUsageProperty keyUsage) Sets the value ofCfnTemplate.ExtensionsV2Property.getKeyUsage()
- Parameters:
keyUsage
- The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in the certificate. This parameter is required.- Returns:
this
-
applicationPolicies
@Stability(Stable) public CfnTemplate.ExtensionsV2Property.Builder applicationPolicies(IResolvable applicationPolicies) Sets the value ofCfnTemplate.ExtensionsV2Property.getApplicationPolicies()
- Parameters:
applicationPolicies
- Application policies specify what the certificate is used for and its purpose.- Returns:
this
-
applicationPolicies
@Stability(Stable) public CfnTemplate.ExtensionsV2Property.Builder applicationPolicies(CfnTemplate.ApplicationPoliciesProperty applicationPolicies) Sets the value ofCfnTemplate.ExtensionsV2Property.getApplicationPolicies()
- Parameters:
applicationPolicies
- Application policies specify what the certificate is used for and its purpose.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.ExtensionsV2Property>
- Returns:
- a new instance of
CfnTemplate.ExtensionsV2Property
- Throws:
NullPointerException
- if any required attribute was not provided
-