@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.815Z") @Stability(value=Stable) public interface NoncurrentVersionTransition extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.s3.*;
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 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.
|
@Stability(value=Stable) @NotNull StorageClass getStorageClass()
@Stability(value=Stable) @NotNull Duration getTransitionAfter()
Default: - No transition count.
@Stability(value=Stable) @Nullable default Number getNoncurrentVersionsToRetain()
Can be up to 100 noncurrent versions retained.
Default: - No noncurrent version retained.
@Stability(value=Stable) static NoncurrentVersionTransition.Builder builder()
Copyright © 2022. All rights reserved.