@Generated(value="software.amazon.awssdk:codegen") public final class NoncurrentVersionTransition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NoncurrentVersionTransition.Builder,NoncurrentVersionTransition>
The container for the noncurrent version transition.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NoncurrentVersionTransition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NoncurrentVersionTransition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
noncurrentDays()
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NoncurrentVersionTransition.Builder> |
serializableBuilderClass() |
TransitionStorageClass |
storageClass()
The class of storage used to store the object.
|
String |
storageClassAsString()
The class of storage used to store the object.
|
NoncurrentVersionTransition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer noncurrentDays()
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates How Long an Object Has Been Noncurrent in the Amazon S3 User Guide.
public final 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().
TransitionStorageClasspublic final 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().
TransitionStorageClasspublic NoncurrentVersionTransition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NoncurrentVersionTransition.Builder,NoncurrentVersionTransition>public static NoncurrentVersionTransition.Builder builder()
public static Class<? extends NoncurrentVersionTransition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.