@Generated(value="software.amazon.awssdk:codegen") public final class Transition extends Object implements ToCopyableBuilder<Transition.Builder,Transition>
Modifier and Type | Class and Description |
---|---|
static interface |
Transition.Builder |
Modifier and Type | Method and Description |
---|---|
static Transition.Builder |
builder() |
Instant |
date()
Indicates at what date the object is to be moved or deleted.
|
Integer |
days()
Indicates the lifetime, in days, of the objects that are subject to the rule.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends Transition.Builder> |
serializableBuilderClass() |
TransitionStorageClass |
storageClass()
The class of storage used to store the object.
|
String |
storageClassAsString()
The class of storage used to store the object.
|
Transition.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Instant date()
public Integer days()
public TransitionStorageClass storageClass()
If the service returns an enum value that is not available in the current SDK version, storageClass
will
return TransitionStorageClass.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from storageClassAsString()
.
TransitionStorageClass
public String storageClassAsString()
If the service returns an enum value that is not available in the current SDK version, storageClass
will
return TransitionStorageClass.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from storageClassAsString()
.
TransitionStorageClass
public Transition.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Transition.Builder,Transition>
public static Transition.Builder builder()
public static Class<? extends Transition.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.