public static interface ShareRule.Builder extends SdkPojo, CopyableBuilder<ShareRule.Builder,ShareRule>
| Modifier and Type | Method and Description |
|---|---|
ShareRule.Builder |
targetAccounts(Collection<String> targetAccounts)
The IDs of the AWS accounts with which to share the snapshots.
|
ShareRule.Builder |
targetAccounts(String... targetAccounts)
The IDs of the AWS accounts with which to share the snapshots.
|
ShareRule.Builder |
unshareInterval(Integer unshareInterval)
The period after which snapshots that are shared with other AWS accounts are automatically unshared.
|
ShareRule.Builder |
unshareIntervalUnit(RetentionIntervalUnitValues unshareIntervalUnit)
The unit of time for the automatic unsharing interval.
|
ShareRule.Builder |
unshareIntervalUnit(String unshareIntervalUnit)
The unit of time for the automatic unsharing interval.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildShareRule.Builder targetAccounts(Collection<String> targetAccounts)
The IDs of the AWS accounts with which to share the snapshots.
targetAccounts - The IDs of the AWS accounts with which to share the snapshots.ShareRule.Builder targetAccounts(String... targetAccounts)
The IDs of the AWS accounts with which to share the snapshots.
targetAccounts - The IDs of the AWS accounts with which to share the snapshots.ShareRule.Builder unshareInterval(Integer unshareInterval)
The period after which snapshots that are shared with other AWS accounts are automatically unshared.
unshareInterval - The period after which snapshots that are shared with other AWS accounts are automatically unshared.ShareRule.Builder unshareIntervalUnit(String unshareIntervalUnit)
The unit of time for the automatic unsharing interval.
unshareIntervalUnit - The unit of time for the automatic unsharing interval.RetentionIntervalUnitValues,
RetentionIntervalUnitValuesShareRule.Builder unshareIntervalUnit(RetentionIntervalUnitValues unshareIntervalUnit)
The unit of time for the automatic unsharing interval.
unshareIntervalUnit - The unit of time for the automatic unsharing interval.RetentionIntervalUnitValues,
RetentionIntervalUnitValuesCopyright © 2021. All rights reserved.