@Stability(value=Stable) public static final class CfnLifecyclePolicy.ShareRuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLifecyclePolicy.ShareRuleProperty>
CfnLifecyclePolicy.ShareRuleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLifecyclePolicy.ShareRuleProperty |
build()
Builds the configured instance.
|
CfnLifecyclePolicy.ShareRuleProperty.Builder |
targetAccounts(List<String> targetAccounts)
Sets the value of
CfnLifecyclePolicy.ShareRuleProperty.getTargetAccounts() |
CfnLifecyclePolicy.ShareRuleProperty.Builder |
unshareInterval(Number unshareInterval)
Sets the value of
CfnLifecyclePolicy.ShareRuleProperty.getUnshareInterval() |
CfnLifecyclePolicy.ShareRuleProperty.Builder |
unshareIntervalUnit(String unshareIntervalUnit)
Sets the value of
CfnLifecyclePolicy.ShareRuleProperty.getUnshareIntervalUnit() |
@Stability(value=Stable) public CfnLifecyclePolicy.ShareRuleProperty.Builder targetAccounts(List<String> targetAccounts)
CfnLifecyclePolicy.ShareRuleProperty.getTargetAccounts()targetAccounts - The IDs of the AWS accounts with which to share the snapshots.this@Stability(value=Stable) public CfnLifecyclePolicy.ShareRuleProperty.Builder unshareInterval(Number unshareInterval)
CfnLifecyclePolicy.ShareRuleProperty.getUnshareInterval()unshareInterval - The period after which snapshots that are shared with other AWS accounts are automatically unshared.this@Stability(value=Stable) public CfnLifecyclePolicy.ShareRuleProperty.Builder unshareIntervalUnit(String unshareIntervalUnit)
CfnLifecyclePolicy.ShareRuleProperty.getUnshareIntervalUnit()unshareIntervalUnit - The unit of time for the automatic unsharing interval.this@Stability(value=Stable) public CfnLifecyclePolicy.ShareRuleProperty build()
build in interface software.amazon.jsii.Builder<CfnLifecyclePolicy.ShareRuleProperty>CfnLifecyclePolicy.ShareRulePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.