Package | Description |
---|---|
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withExpirationDate(Date expirationDate)
Sets the expiration date of the object and returns a reference to this
object(Rule) for method chaining.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withExpirationInDays(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.Rule |
BucketLifecycleConfiguration.Rule.withId(String id)
Sets the ID of this rule and returns a reference to this object for
method chaining.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withNoncurrentVersionExpirationInDays(int value)
Sets the time, in days, between when a new version of the object is
uploaded to the bucket and when older versions of the object expire,
and returns a reference to this object for method chaining.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withNoncurrentVersionTransition(BucketLifecycleConfiguration.NoncurrentVersionTransition value)
Sets the transition describing how non-current versions of objects
will move between different storage classes in Amazon S3, and
returns a reference to this object for method chaining.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withPrefix(String prefix)
Sets the key prefix for this rule and returns a reference to this
object for method chaining.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withStatus(String status)
Sets the status of this rule and returns a reference to this object
for method chaining.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withTransition(BucketLifecycleConfiguration.Transition transition)
Sets the transition describing how this object will move between
different storage classes in Amazon S3 and returns a reference to
this object(Rule) for method chaining.
|
Modifier and Type | Method and Description |
---|---|
List<BucketLifecycleConfiguration.Rule> |
BucketLifecycleConfiguration.getRules()
Returns the list of rules that comprise this configuration.
|
Modifier and Type | Method and Description |
---|---|
BucketLifecycleConfiguration |
BucketLifecycleConfiguration.withRules(BucketLifecycleConfiguration.Rule... rules)
Convenience array style method for
BucketLifecycleConfiguration.withRules(List) |
Modifier and Type | Method and Description |
---|---|
void |
BucketLifecycleConfiguration.setRules(List<BucketLifecycleConfiguration.Rule> rules)
Sets the rules that comprise this configuration.
|
BucketLifecycleConfiguration |
BucketLifecycleConfiguration.withRules(List<BucketLifecycleConfiguration.Rule> rules)
Sets the rules that comprise this configuration and returns a reference
to this object for easy method chaining.
|
Constructor and Description |
---|
BucketLifecycleConfiguration(List<BucketLifecycleConfiguration.Rule> rules)
Constructs a new
BucketLifecycleConfiguration object with the
rules given. |
Copyright © 2015. All rights reserved.