public static class BucketLifecycleConfiguration.NoncurrentVersionTransition extends Object
Constructor and Description |
---|
BucketLifecycleConfiguration.NoncurrentVersionTransition() |
Modifier and Type | Method and Description |
---|---|
int |
getDays()
Returns the time in days from when a new version of the object
is uploaded to the bucket and when older versions are archived.
|
StorageClass |
getStorageClass()
Returns the storage class of this object.
|
void |
setDays(int expirationInDays)
Sets the time, in days, between when a new version of the object
is uploaded to the bucket and when older versions are archived.
|
void |
setStorageClass(StorageClass storageClass)
Sets the storage class of this object.
|
BucketLifecycleConfiguration.NoncurrentVersionTransition |
withDays(int expirationInDays)
Sets the time in days from when a new version of the object
is uploaded to the bucket and when older versions are archived,
and returns a reference to this object for method chaining.
|
BucketLifecycleConfiguration.NoncurrentVersionTransition |
withStorageClass(StorageClass storageClass)
Sets the storage class of this object and returns a reference to
this object for method chaining.
|
public BucketLifecycleConfiguration.NoncurrentVersionTransition()
public void setDays(int expirationInDays)
public int getDays()
public BucketLifecycleConfiguration.NoncurrentVersionTransition withDays(int expirationInDays)
public void setStorageClass(StorageClass storageClass)
public StorageClass getStorageClass()
public BucketLifecycleConfiguration.NoncurrentVersionTransition withStorageClass(StorageClass storageClass)
Copyright © 2015. All rights reserved.