Class CfnApprovalPolicyMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnApprovalPolicyMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApprovalPolicyMixinProps>
- Enclosing interface:
CfnApprovalPolicyMixinProps
@Stability(Stable)
public static final class CfnApprovalPolicyMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApprovalPolicyMixinProps>
A builder for
CfnApprovalPolicyMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnApprovalPolicyMixinProps.getActions()actions(IResolvable actions) Sets the value ofCfnApprovalPolicyMixinProps.getActions()applicableTo(CfnApprovalPolicyPropsMixin.ApplicableToProperty applicableTo) Sets the value ofCfnApprovalPolicyMixinProps.getApplicableTo()applicableTo(IResolvable applicableTo) Sets the value ofCfnApprovalPolicyMixinProps.getApplicableTo()approvalGroups(List<String> approvalGroups) Sets the value ofCfnApprovalPolicyMixinProps.getApprovalGroups()assetTypes(List<? extends Object> assetTypes) Sets the value ofCfnApprovalPolicyMixinProps.getAssetTypes()assetTypes(IResolvable assetTypes) Sets the value ofCfnApprovalPolicyMixinProps.getAssetTypes()build()Builds the configured instance.description(String description) Sets the value ofCfnApprovalPolicyMixinProps.getDescription()Sets the value ofCfnApprovalPolicyMixinProps.getName()Sets the value ofCfnApprovalPolicyMixinProps.getPolicyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
@Stability(Stable) public CfnApprovalPolicyMixinProps.Builder actions(List<? extends Object> actions) Sets the value ofCfnApprovalPolicyMixinProps.getActions()- Parameters:
actions- List of governed actions a policy applies to.- Returns:
this
-
actions
Sets the value ofCfnApprovalPolicyMixinProps.getActions()- Parameters:
actions- List of governed actions a policy applies to.- Returns:
this
-
applicableTo
@Stability(Stable) public CfnApprovalPolicyMixinProps.Builder applicableTo(IResolvable applicableTo) Sets the value ofCfnApprovalPolicyMixinProps.getApplicableTo()- Parameters:
applicableTo- Scoping: who the policy applies to. GROUP:groupArnsrequired (one or more group ARNs).- Returns:
this
-
applicableTo
@Stability(Stable) public CfnApprovalPolicyMixinProps.Builder applicableTo(CfnApprovalPolicyPropsMixin.ApplicableToProperty applicableTo) Sets the value ofCfnApprovalPolicyMixinProps.getApplicableTo()- Parameters:
applicableTo- Scoping: who the policy applies to. GROUP:groupArnsrequired (one or more group ARNs).- Returns:
this
-
approvalGroups
@Stability(Stable) public CfnApprovalPolicyMixinProps.Builder approvalGroups(List<String> approvalGroups) Sets the value ofCfnApprovalPolicyMixinProps.getApprovalGroups()- Parameters:
approvalGroups- List of approval group ARNs (e.g. QuickSight group ARNs). At least one approval group is required; the upper bound is enforced per-account at the service layer via the configurable approver-group limit.- Returns:
this
-
assetTypes
@Stability(Stable) public CfnApprovalPolicyMixinProps.Builder assetTypes(List<? extends Object> assetTypes) Sets the value ofCfnApprovalPolicyMixinProps.getAssetTypes()- Parameters:
assetTypes- List of asset types a policy applies to. At least one asset type is required.- Returns:
this
-
assetTypes
Sets the value ofCfnApprovalPolicyMixinProps.getAssetTypes()- Parameters:
assetTypes- List of asset types a policy applies to. At least one asset type is required.- Returns:
this
-
description
Sets the value ofCfnApprovalPolicyMixinProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
name
Sets the value ofCfnApprovalPolicyMixinProps.getName()- Parameters:
name- the value to be set.- Returns:
this
-
policyId
Sets the value ofCfnApprovalPolicyMixinProps.getPolicyId()- Parameters:
policyId- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApprovalPolicyMixinProps>- Returns:
- a new instance of
CfnApprovalPolicyMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-