Class CfnPolicyTemplateMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.verifiedpermissions.CfnPolicyTemplateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyTemplateMixinProps>
- Enclosing interface:
CfnPolicyTemplateMixinProps
@Stability(Stable)
public static final class CfnPolicyTemplateMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyTemplateMixinProps>
A builder for
CfnPolicyTemplateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnPolicyTemplateMixinProps.getDescription()policyStoreId(String policyStoreId) Sets the value ofCfnPolicyTemplateMixinProps.getPolicyStoreId()Sets the value ofCfnPolicyTemplateMixinProps.getStatement()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnPolicyTemplateMixinProps.getDescription()- Parameters:
description- The description to attach to the new or updated policy template.- Returns:
this
-
policyStoreId
Sets the value ofCfnPolicyTemplateMixinProps.getPolicyStoreId()- Parameters:
policyStoreId- The unique identifier of the policy store that contains the template.- Returns:
this
-
statement
Sets the value ofCfnPolicyTemplateMixinProps.getStatement()- Parameters:
statement- Specifies the content that you want to use for the new policy template, written in the Cedar policy language.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyTemplateMixinProps>- Returns:
- a new instance of
CfnPolicyTemplateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-