Class AddToResourcePolicyResult.Builder
java.lang.Object
software.amazon.awscdk.services.iam.AddToResourcePolicyResult.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<AddToResourcePolicyResult>
- Enclosing interface:
- AddToResourcePolicyResult
@Stability(Stable)
public static final class AddToResourcePolicyResult.Builder
extends Object
implements software.amazon.jsii.Builder<AddToResourcePolicyResult>
A builder for 
AddToResourcePolicyResult- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.policyDependable(IDependable policyDependable) Sets the value ofAddToResourcePolicyResult.getPolicyDependable()statementAdded(Boolean statementAdded) Sets the value ofAddToResourcePolicyResult.getStatementAdded()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
statementAddedSets the value ofAddToResourcePolicyResult.getStatementAdded()- Parameters:
- statementAdded- Whether the statement was added. This parameter is required.
- Returns:
- this
 
- 
policyDependable@Stability(Stable) public AddToResourcePolicyResult.Builder policyDependable(IDependable policyDependable) Sets the value ofAddToResourcePolicyResult.getPolicyDependable()- Parameters:
- policyDependable- Dependable which allows depending on the policy change being applied.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<AddToResourcePolicyResult>
- Returns:
- a new instance of AddToResourcePolicyResult
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-