Interface ShareRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ShareRule.Builder,
,ShareRule> SdkBuilder<ShareRule.Builder,
,ShareRule> SdkPojo
- Enclosing class:
ShareRule
public static interface ShareRule.Builder
extends SdkPojo, CopyableBuilder<ShareRule.Builder,ShareRule>
-
Method Summary
Modifier and TypeMethodDescriptiontargetAccounts
(String... targetAccounts) The IDs of the Amazon Web Services accounts with which to share the snapshots.targetAccounts
(Collection<String> targetAccounts) The IDs of the Amazon Web Services accounts with which to share the snapshots.unshareInterval
(Integer unshareInterval) The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.unshareIntervalUnit
(String unshareIntervalUnit) The unit of time for the automatic unsharing interval.unshareIntervalUnit
(RetentionIntervalUnitValues unshareIntervalUnit) The unit of time for the automatic unsharing interval.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
targetAccounts
The IDs of the Amazon Web Services accounts with which to share the snapshots.
- Parameters:
targetAccounts
- The IDs of the Amazon Web Services accounts with which to share the snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetAccounts
The IDs of the Amazon Web Services accounts with which to share the snapshots.
- Parameters:
targetAccounts
- The IDs of the Amazon Web Services accounts with which to share the snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-