Package | Description |
---|---|
com.ibm.cloud.objectstorage.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.addNoncurrentVersionTransition(BucketLifecycleConfiguration.NoncurrentVersionTransition noncurrentVersionTransition)
Adds a new Non current transition to the rule.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.addTransition(BucketLifecycleConfiguration.Transition transition)
Adds a new transition to the rule.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withAbortIncompleteMultipartUpload(AbortIncompleteMultipartUpload abortIncompleteMultipartUpload) |
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.withExpiredObjectDeleteMarker(boolean expiredObjectDeleteMarker)
Fluent method for setting the value of the ExpiredObjectDeleteMarkers attributes.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withFilter(LifecycleFilter filter)
Fluent method to set the
LifecycleFilter that is used to identify objects
that a Lifecycle Rule applies to. |
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.withNoncurrentVersionExpiration(BucketLifecycleConfiguration.NoncurrentVersionExpiration noncurrentVersionExpiration)
Sets the Amazon S3 non current object expiration rules for the given bucket.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withNoncurrentVersionExpirationInDays(int value)
Deprecated.
Deprecated but functional. Please use
#withNoncurrentVersionExpiration(NoncurrentVersionExpiration) instead. |
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withNoncurrentVersionTransition(BucketLifecycleConfiguration.NoncurrentVersionTransition nonCurrentVersionTransition)
Deprecated.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withNoncurrentVersionTransitions(List<BucketLifecycleConfiguration.NoncurrentVersionTransition> noncurrentVersionTransitions)
Sets the Amazon S3 non current object transition rules for the given bucket.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withPrefix(String prefix)
Deprecated.
Use
LifecycleFilter instead. |
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)
Deprecated.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withTransitions(List<BucketLifecycleConfiguration.Transition> transitions)
Sets the Amazon S3 object transition rules for the given bucket.
|
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 © 2024. All rights reserved.