Interface NoncurrentVersionTransition.Builder

    • Method Detail

      • newerNoncurrentVersions

        NoncurrentVersionTransition.Builder newerNoncurrentVersions​(Integer newerNoncurrentVersions)

        Specifies how many noncurrent versions Amazon S3 will retain in the same storage class before transitioning objects. You can specify up to 100 noncurrent versions to retain. Amazon S3 will transition any additional noncurrent versions beyond the specified number to retain. For more information about noncurrent versions, see Lifecycle configuration elements in the Amazon S3 User Guide.

        Parameters:
        newerNoncurrentVersions - Specifies how many noncurrent versions Amazon S3 will retain in the same storage class before transitioning objects. You can specify up to 100 noncurrent versions to retain. Amazon S3 will transition any additional noncurrent versions beyond the specified number to retain. For more information about noncurrent versions, see Lifecycle configuration elements in the Amazon S3 User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.