Class LifecyclePolicyPolicyDetailsScheduleShareRule


  • public final class LifecyclePolicyPolicyDetailsScheduleShareRule
    extends java.lang.Object
    • Method Detail

      • targetAccounts

        public java.util.List<java.lang.String> targetAccounts()
        Returns:
        The IDs of the AWS accounts with which to share the snapshots.
      • unshareInterval

        public java.util.Optional<java.lang.Integer> unshareInterval()
        Returns:
        The period after which snapshots that are shared with other AWS accounts are automatically unshared.
      • unshareIntervalUnit

        public java.util.Optional<java.lang.String> unshareIntervalUnit()
        Returns:
        The unit of time for the automatic unsharing interval. Valid values are `DAYS`, `WEEKS`, `MONTHS`, `YEARS`.