Class PolicyTemplateReference.Builder
java.lang.Object
software.amazon.awscdk.services.verifiedpermissions.PolicyTemplateReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PolicyTemplateReference>
- Enclosing interface:
PolicyTemplateReference
@Stability(Stable)
public static final class PolicyTemplateReference.Builder
extends Object
implements software.amazon.jsii.Builder<PolicyTemplateReference>
A builder for
PolicyTemplateReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.policyStoreId
(String policyStoreId) Sets the value ofPolicyTemplateReference.getPolicyStoreId()
policyTemplateId
(String policyTemplateId) Sets the value ofPolicyTemplateReference.getPolicyTemplateId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyStoreId
Sets the value ofPolicyTemplateReference.getPolicyStoreId()
- Parameters:
policyStoreId
- The PolicyStoreId of the PolicyTemplate resource. This parameter is required.- Returns:
this
-
policyTemplateId
Sets the value ofPolicyTemplateReference.getPolicyTemplateId()
- Parameters:
policyTemplateId
- The PolicyTemplateId of the PolicyTemplate resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PolicyTemplateReference>
- Returns:
- a new instance of
PolicyTemplateReference
- Throws:
NullPointerException
- if any required attribute was not provided
-