@Generated(value="software.amazon.awssdk:codegen") public final class Transition extends Object implements SdkPojo, Serializable, 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() |
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public Instant date()
Indicates at what date the object is to be moved or deleted. Should be in GMT ISO 8601 Format.
public Integer days()
Indicates the lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
public TransitionStorageClass storageClass()
The class of storage used to store the object.
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()
The class of storage used to store the object.
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()
toBuilder
in interface ToCopyableBuilder<Transition.Builder,Transition>
public static Transition.Builder builder()
public static Class<? extends Transition.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.