@Stability(value=Stable) public static final class NoncurrentVersionTransition.Builder extends Object implements software.amazon.jsii.Builder<NoncurrentVersionTransition>
NoncurrentVersionTransition| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
NoncurrentVersionTransition |
build()
Builds the configured instance.
|
NoncurrentVersionTransition.Builder |
noncurrentVersionsToRetain(Number noncurrentVersionsToRetain)
Sets the value of
NoncurrentVersionTransition.getNoncurrentVersionsToRetain() |
NoncurrentVersionTransition.Builder |
storageClass(StorageClass storageClass)
Sets the value of
NoncurrentVersionTransition.getStorageClass() |
NoncurrentVersionTransition.Builder |
transitionAfter(Duration transitionAfter)
Sets the value of
NoncurrentVersionTransition.getTransitionAfter() |
@Stability(value=Stable) public NoncurrentVersionTransition.Builder storageClass(StorageClass storageClass)
NoncurrentVersionTransition.getStorageClass()storageClass - The storage class to which you want the object to transition. This parameter is required.this@Stability(value=Stable) public NoncurrentVersionTransition.Builder transitionAfter(Duration transitionAfter)
NoncurrentVersionTransition.getTransitionAfter()transitionAfter - Indicates the number of days after creation when objects are transitioned to the specified storage class. This parameter is required.this@Stability(value=Stable) public NoncurrentVersionTransition.Builder noncurrentVersionsToRetain(Number noncurrentVersionsToRetain)
NoncurrentVersionTransition.getNoncurrentVersionsToRetain()noncurrentVersionsToRetain - Indicates the number of noncurrent version objects to be retained.
Can be up to 100 noncurrent versions retained.this@Stability(value=Stable) public NoncurrentVersionTransition build()
build in interface software.amazon.jsii.Builder<NoncurrentVersionTransition>NoncurrentVersionTransitionNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.