Class PolicyStatementReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.entityresolution.PolicyStatementReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PolicyStatementReference>
- Enclosing interface:
PolicyStatementReference
@Stability(Stable)
public static final class PolicyStatementReference.Builder
extends Object
implements software.amazon.jsii.Builder<PolicyStatementReference>
A builder for
PolicyStatementReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.policyStatementArn(String policyStatementArn) Sets the value ofPolicyStatementReference.getPolicyStatementArn()statementId(String statementId) Sets the value ofPolicyStatementReference.getStatementId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyStatementArn
@Stability(Stable) public PolicyStatementReference.Builder policyStatementArn(String policyStatementArn) Sets the value ofPolicyStatementReference.getPolicyStatementArn()- Parameters:
policyStatementArn- The Arn of the PolicyStatement resource. This parameter is required.- Returns:
this
-
statementId
Sets the value ofPolicyStatementReference.getStatementId()- Parameters:
statementId- The StatementId of the PolicyStatement resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PolicyStatementReference>- Returns:
- a new instance of
PolicyStatementReference - Throws:
NullPointerException- if any required attribute was not provided
-