@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NoncurrentVersionTransition extends Object implements Serializable, Cloneable
The container for the noncurrent version transition.
Constructor and Description |
---|
NoncurrentVersionTransition() |
Modifier and Type | Method and Description |
---|---|
NoncurrentVersionTransition |
clone() |
boolean |
equals(Object obj) |
Integer |
getNoncurrentDays()
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action.
|
String |
getStorageClass()
The class of storage used to store the object.
|
int |
hashCode() |
void |
setNoncurrentDays(Integer noncurrentDays)
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action.
|
void |
setStorageClass(String storageClass)
The class of storage used to store the object.
|
String |
toString()
Returns a string representation of this object.
|
NoncurrentVersionTransition |
withNoncurrentDays(Integer noncurrentDays)
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action.
|
NoncurrentVersionTransition |
withStorageClass(String storageClass)
The class of storage used to store the object.
|
NoncurrentVersionTransition |
withStorageClass(TransitionStorageClass storageClass)
The class of storage used to store the object.
|
public void setNoncurrentDays(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.
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 Integer getNoncurrentDays()
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 NoncurrentVersionTransition withNoncurrentDays(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.
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 void setStorageClass(String storageClass)
The class of storage used to store the object.
storageClass
- The class of storage used to store the object.TransitionStorageClass
public String getStorageClass()
The class of storage used to store the object.
TransitionStorageClass
public NoncurrentVersionTransition withStorageClass(String storageClass)
The class of storage used to store the object.
storageClass
- The class of storage used to store the object.TransitionStorageClass
public NoncurrentVersionTransition withStorageClass(TransitionStorageClass storageClass)
The class of storage used to store the object.
storageClass
- The class of storage used to store the object.TransitionStorageClass
public String toString()
toString
in class Object
Object.toString()
public NoncurrentVersionTransition clone()