Interface Transition
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Transition.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:37.721Z")
@Stability(Stable)
public interface Transition
extends software.amazon.jsii.JsiiSerializable
Describes when an object transitions to a specified storage class.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forTransition
static final class
An implementation forTransition
-
Method Summary
Modifier and TypeMethodDescriptionstatic Transition.Builder
builder()
The storage class to which you want the object to transition.default Duration
Indicates the number of days after creation when objects are transitioned to the specified storage class.default Instant
Indicates when objects are transitioned to the specified storage class.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStorageClass
The storage class to which you want the object to transition. -
getTransitionAfter
Indicates the number of days after creation when objects are transitioned to the specified storage class.Default: - No transition count.
-
getTransitionDate
Indicates when objects are transitioned to the specified storage class.The date value must be in ISO 8601 format. The time is always midnight UTC.
Default: - No transition date.
-
builder
- Returns:
- a
Transition.Builder
ofTransition
-