@Stability(value=Stable) public static final class PolicyDocumentProps.Builder extends Object implements software.amazon.jsii.Builder<PolicyDocumentProps>
PolicyDocumentProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PolicyDocumentProps.Builder |
assignSids(Boolean assignSids)
Sets the value of
PolicyDocumentProps.getAssignSids() |
PolicyDocumentProps |
build()
Builds the configured instance.
|
PolicyDocumentProps.Builder |
minimize(Boolean minimize)
Sets the value of
PolicyDocumentProps.getMinimize() |
PolicyDocumentProps.Builder |
statements(List<? extends PolicyStatement> statements)
Sets the value of
PolicyDocumentProps.getStatements() |
@Stability(value=Stable) public PolicyDocumentProps.Builder assignSids(Boolean assignSids)
PolicyDocumentProps.getAssignSids()assignSids - Automatically assign Statement Ids to all statements.this@Stability(value=Stable) public PolicyDocumentProps.Builder minimize(Boolean minimize)
PolicyDocumentProps.getMinimize()minimize - Try to minimize the policy by merging statements.
To avoid overrunning the maximum policy size, combine statements if they produce
the same result. Merging happens according to the following rules:
this@Stability(value=Stable) public PolicyDocumentProps.Builder statements(List<? extends PolicyStatement> statements)
PolicyDocumentProps.getStatements()statements - Initial statements to add to the policy document.this@Stability(value=Stable) public PolicyDocumentProps build()
build in interface software.amazon.jsii.Builder<PolicyDocumentProps>PolicyDocumentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.