Interface NoncurrentVersionTransition

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:37.709Z") @Stability(Stable) public interface NoncurrentVersionTransition extends
Describes when noncurrent versions transition to a specified storage class.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 StorageClass storageClass;
 NoncurrentVersionTransition noncurrentVersionTransition = NoncurrentVersionTransition.builder()
         // the properties below are optional
  • Method Details

    • getStorageClass

      @Stability(Stable) @NotNull StorageClass getStorageClass()
      The storage class to which you want the object to transition.
    • getTransitionAfter

      @Stability(Stable) @NotNull Duration getTransitionAfter()
      Indicates the number of days after creation when objects are transitioned to the specified storage class.

      Default: - No transition count.

    • getNoncurrentVersionsToRetain

      @Stability(Stable) @Nullable default Number getNoncurrentVersionsToRetain()
      Indicates the number of noncurrent version objects to be retained.

      Can be up to 100 noncurrent versions retained.

      Default: - No noncurrent version retained.

    • builder

      @Stability(Stable) static NoncurrentVersionTransition.Builder builder()
      a NoncurrentVersionTransition.Builder of NoncurrentVersionTransition