@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.818Z") @Stability(value=Stable) public interface Transition 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;
Transition transition = Transition.builder()
.storageClass(storageClass)
// the properties below are optional
.transitionAfter(Duration.minutes(30))
.transitionDate(new Date())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
Transition.Builder
A builder for
Transition |
static class |
Transition.Jsii$Proxy
An implementation for
Transition |
| Modifier and Type | Method and Description |
|---|---|
static Transition.Builder |
builder() |
StorageClass |
getStorageClass()
The storage class to which you want the object to transition.
|
default Duration |
getTransitionAfter()
Indicates the number of days after creation when objects are transitioned to the specified storage class.
|
default Instant |
getTransitionDate()
Indicates when objects are transitioned to the specified storage class.
|
@Stability(value=Stable) @NotNull StorageClass getStorageClass()
@Stability(value=Stable) @Nullable default Duration getTransitionAfter()
Default: - No transition count.
@Stability(value=Stable) @Nullable default Instant getTransitionDate()
The date value must be in ISO 8601 format. The time is always midnight UTC.
Default: - No transition date.
@Stability(value=Stable) static Transition.Builder builder()
Transition.Builder of TransitionCopyright © 2022. All rights reserved.