@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-17T17:31:13.567Z")
public interface Transition
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; 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 java.time.Instant |
getTransitionDate()
Indicates when objects are transitioned to the specified storage class.
|
StorageClass getStorageClass()
default Duration getTransitionAfter()
Default: - No transition count.
default java.time.Instant getTransitionDate()
The date value must be in ISO 8601 format. The time is always midnight UTC.
Default: - No transition date.
static Transition.Builder builder()
Transition.Builder
of Transition