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