Class CfnPolicyMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.verifiedpermissions.CfnPolicyMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyMixinProps>
- Enclosing interface:
CfnPolicyMixinProps
@Stability(Stable)
public static final class CfnPolicyMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyMixinProps>
A builder for
CfnPolicyMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPolicyMixinProps.getDefinition()definition(IResolvable definition) Sets the value ofCfnPolicyMixinProps.getDefinition()policyStoreId(String policyStoreId) Sets the value ofCfnPolicyMixinProps.getPolicyStoreId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
definition
Sets the value ofCfnPolicyMixinProps.getDefinition()- Parameters:
definition- Specifies the policy type and content to use for the new or updated policy. The definition structure must include either aStaticor aTemplateLinkedelement.- Returns:
this
-
definition
@Stability(Stable) public CfnPolicyMixinProps.Builder definition(CfnPolicyPropsMixin.PolicyDefinitionProperty definition) Sets the value ofCfnPolicyMixinProps.getDefinition()- Parameters:
definition- Specifies the policy type and content to use for the new or updated policy. The definition structure must include either aStaticor aTemplateLinkedelement.- Returns:
this
-
policyStoreId
Sets the value ofCfnPolicyMixinProps.getPolicyStoreId()- Parameters:
policyStoreId- Specifies thePolicyStoreIdof the policy store you want to store the policy in.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyMixinProps>- Returns:
- a new instance of
CfnPolicyMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-