Class CfnApprovalPolicy.ApplicableToProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnApprovalPolicy.ApplicableToProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApprovalPolicy.ApplicableToProperty>
- Enclosing interface:
CfnApprovalPolicy.ApplicableToProperty
@Stability(Stable)
public static final class CfnApprovalPolicy.ApplicableToProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApprovalPolicy.ApplicableToProperty>
A builder for
CfnApprovalPolicy.ApplicableToProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApprovalPolicy.ApplicableToProperty.getGroupArns()Sets the value ofCfnApprovalPolicy.ApplicableToProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnApprovalPolicy.ApplicableToProperty.getType()- Parameters:
type- the value to be set. This parameter is required.- Returns:
this
-
groupArns
@Stability(Stable) public CfnApprovalPolicy.ApplicableToProperty.Builder groupArns(List<String> groupArns) Sets the value ofCfnApprovalPolicy.ApplicableToProperty.getGroupArns()- Parameters:
groupArns- Required when type = GROUP. One or more group ARNs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApprovalPolicy.ApplicableToProperty>- Returns:
- a new instance of
CfnApprovalPolicy.ApplicableToProperty - Throws:
NullPointerException- if any required attribute was not provided
-