Class CfnTemplate.ApplicationPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pcaconnectorad.CfnTemplate.ApplicationPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.ApplicationPolicyProperty>
- Enclosing interface:
CfnTemplate.ApplicationPolicyProperty
@Stability(Stable)
public static final class CfnTemplate.ApplicationPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.ApplicationPolicyProperty>
A builder for
CfnTemplate.ApplicationPolicyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.policyObjectIdentifier
(String policyObjectIdentifier) Sets the value ofCfnTemplate.ApplicationPolicyProperty.getPolicyObjectIdentifier()
policyType
(String policyType) Sets the value ofCfnTemplate.ApplicationPolicyProperty.getPolicyType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyObjectIdentifier
@Stability(Stable) public CfnTemplate.ApplicationPolicyProperty.Builder policyObjectIdentifier(String policyObjectIdentifier) Sets the value ofCfnTemplate.ApplicationPolicyProperty.getPolicyObjectIdentifier()
- Parameters:
policyObjectIdentifier
- The object identifier (OID) of an application policy.- Returns:
this
-
policyType
@Stability(Stable) public CfnTemplate.ApplicationPolicyProperty.Builder policyType(String policyType) Sets the value ofCfnTemplate.ApplicationPolicyProperty.getPolicyType()
- Parameters:
policyType
- The type of application policy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.ApplicationPolicyProperty>
- Returns:
- a new instance of
CfnTemplate.ApplicationPolicyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-