Class ApprovalPolicyReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.quicksight.ApprovalPolicyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApprovalPolicyReference>
- Enclosing interface:
ApprovalPolicyReference
@Stability(Stable)
public static final class ApprovalPolicyReference.Builder
extends Object
implements software.amazon.jsii.Builder<ApprovalPolicyReference>
A builder for
ApprovalPolicyReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofApprovalPolicyReference.getPolicyArn()Sets the value ofApprovalPolicyReference.getPolicyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyArn
Sets the value ofApprovalPolicyReference.getPolicyArn()- Parameters:
policyArn- The ARN of the ApprovalPolicy resource. This parameter is required.- Returns:
this
-
policyId
Sets the value ofApprovalPolicyReference.getPolicyId()- Parameters:
policyId- The PolicyId of the ApprovalPolicy resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApprovalPolicyReference>- Returns:
- a new instance of
ApprovalPolicyReference - Throws:
NullPointerException- if any required attribute was not provided
-