Package | Description |
---|---|
com.netease.cloud.services.nos.model |
Classes modeling the various types represented by Nos.
|
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.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.
|
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 © 2017. All Rights Reserved.