|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.BucketLifecycleConfiguration.Transition
public static class BucketLifecycleConfiguration.Transition
The transition attribute of the rule describing how this object will move between different storage classes in Amazon S3.
Constructor Summary | |
---|---|
BucketLifecycleConfiguration.Transition()
|
Method Summary | |
---|---|
Date |
getDate()
Returns the expiration date of this object. |
int |
getDays()
Returns the time in days from an object's creation to its expiration. |
StorageClass |
getStorageClass()
Returns the storage class of this object. |
void |
setDate(Date expirationDate)
Set the expiration date of this object. |
void |
setDays(int expirationInDays)
Sets the time, in days, between when an object is uploaded to the bucket and when it expires. |
void |
setStorageClass(StorageClass storageClass)
Sets the storage class of this object. |
BucketLifecycleConfiguration.Transition |
withDate(Date expirationDate)
Set the expiration date of this object and returns a reference to this object(Transition) for method chaining. |
BucketLifecycleConfiguration.Transition |
withDays(int expirationInDays)
Sets the time, in days, between when an object is uploaded to the bucket and when it expires, and returns a reference to this object for method chaining. |
BucketLifecycleConfiguration.Transition |
withStorageClass(StorageClass storageClass)
Sets the storage class of this object and returns a reference to this object(Transition) for method chaining. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BucketLifecycleConfiguration.Transition()
Method Detail |
---|
public void setDays(int expirationInDays)
public int getDays()
public BucketLifecycleConfiguration.Transition withDays(int expirationInDays)
BucketLifecycleConfiguration.Rule.setExpirationInDays(int)
public void setStorageClass(StorageClass storageClass)
public StorageClass getStorageClass()
public BucketLifecycleConfiguration.Transition withStorageClass(StorageClass storageClass)
public void setDate(Date expirationDate)
public Date getDate()
public BucketLifecycleConfiguration.Transition withDate(Date expirationDate)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |