@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:41.704Z")
public interface NoncurrentVersionTransition
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.s3.*; import software.amazon.awscdk.core.*; StorageClass storageClass; NoncurrentVersionTransition noncurrentVersionTransition = NoncurrentVersionTransition.builder() .storageClass(storageClass) .transitionAfter(Duration.minutes(30)) // the properties below are optional .noncurrentVersionsToRetain(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
NoncurrentVersionTransition.Builder
A builder for
NoncurrentVersionTransition |
static class |
NoncurrentVersionTransition.Jsii$Proxy
An implementation for
NoncurrentVersionTransition |
Modifier and Type | Method and Description |
---|---|
static NoncurrentVersionTransition.Builder |
builder() |
default java.lang.Number |
getNoncurrentVersionsToRetain()
Indicates the number of noncurrent version objects to be retained.
|
StorageClass |
getStorageClass()
The storage class to which you want the object to transition.
|
Duration |
getTransitionAfter()
Indicates the number of days after creation when objects are transitioned to the specified storage class.
|
StorageClass getStorageClass()
Duration getTransitionAfter()
Default: - No transition count.
default java.lang.Number getNoncurrentVersionsToRetain()
Can be up to 100 noncurrent versions retained.
Default: - No noncurrent version retained.
static NoncurrentVersionTransition.Builder builder()