Class CfnTemplate.ApplicationPoliciesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.ApplicationPoliciesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.ApplicationPoliciesProperty>
- Enclosing interface:
CfnTemplate.ApplicationPoliciesProperty
@Stability(Stable)
public static final class CfnTemplate.ApplicationPoliciesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.ApplicationPoliciesProperty>
A builder for
CfnTemplate.ApplicationPoliciesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTemplate.ApplicationPoliciesProperty.getCritical()
critical
(IResolvable critical) Sets the value ofCfnTemplate.ApplicationPoliciesProperty.getCritical()
Sets the value ofCfnTemplate.ApplicationPoliciesProperty.getPolicies()
policies
(IResolvable policies) Sets the value ofCfnTemplate.ApplicationPoliciesProperty.getPolicies()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policies
@Stability(Stable) public CfnTemplate.ApplicationPoliciesProperty.Builder policies(IResolvable policies) Sets the value ofCfnTemplate.ApplicationPoliciesProperty.getPolicies()
- Parameters:
policies
- Application policies describe what the certificate can be used for. This parameter is required.- Returns:
this
-
policies
@Stability(Stable) public CfnTemplate.ApplicationPoliciesProperty.Builder policies(List<? extends Object> policies) Sets the value ofCfnTemplate.ApplicationPoliciesProperty.getPolicies()
- Parameters:
policies
- Application policies describe what the certificate can be used for. This parameter is required.- Returns:
this
-
critical
@Stability(Stable) public CfnTemplate.ApplicationPoliciesProperty.Builder critical(Boolean critical) Sets the value ofCfnTemplate.ApplicationPoliciesProperty.getCritical()
- Parameters:
critical
- Marks the application policy extension as critical.- Returns:
this
-
critical
@Stability(Stable) public CfnTemplate.ApplicationPoliciesProperty.Builder critical(IResolvable critical) Sets the value ofCfnTemplate.ApplicationPoliciesProperty.getCritical()
- Parameters:
critical
- Marks the application policy extension as critical.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.ApplicationPoliciesProperty>
- Returns:
- a new instance of
CfnTemplate.ApplicationPoliciesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-