Interface LifecyclePolicy.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LifecyclePolicy.Builder,LifecyclePolicy>, SdkBuilder<LifecyclePolicy.Builder,LifecyclePolicy>, SdkPojo
Enclosing class:
LifecyclePolicy

public static interface LifecyclePolicy.Builder extends SdkPojo, CopyableBuilder<LifecyclePolicy.Builder,LifecyclePolicy>
  • Method Details

    • transitionToIA

      LifecyclePolicy.Builder transitionToIA(String transitionToIA)

      The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.

      Parameters:
      transitionToIA - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • transitionToIA

      LifecyclePolicy.Builder transitionToIA(TransitionToIARules transitionToIA)

      The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.

      Parameters:
      transitionToIA - The number of days after files were last accessed in primary storage (the Standard storage class) at which to move them to Infrequent Access (IA) storage. Metadata operations such as listing the contents of a directory don't count as file access events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • transitionToPrimaryStorageClass

      LifecyclePolicy.Builder transitionToPrimaryStorageClass(String transitionToPrimaryStorageClass)

      Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.

      Parameters:
      transitionToPrimaryStorageClass - Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • transitionToPrimaryStorageClass

      LifecyclePolicy.Builder transitionToPrimaryStorageClass(TransitionToPrimaryStorageClassRules transitionToPrimaryStorageClass)

      Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.

      Parameters:
      transitionToPrimaryStorageClass - Whether to move files back to primary (Standard) storage after they are accessed in IA or Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • transitionToArchive

      LifecyclePolicy.Builder transitionToArchive(String transitionToArchive)

      The number of days after files were last accessed in primary storage (the Standard storage class) files at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.

      Parameters:
      transitionToArchive - The number of days after files were last accessed in primary storage (the Standard storage class) files at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • transitionToArchive

      LifecyclePolicy.Builder transitionToArchive(TransitionToArchiveRules transitionToArchive)

      The number of days after files were last accessed in primary storage (the Standard storage class) files at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.

      Parameters:
      transitionToArchive - The number of days after files were last accessed in primary storage (the Standard storage class) files at which to move them to Archive storage. Metadata operations such as listing the contents of a directory don't count as file access events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: