Uses of Class
com.amazonaws.services.s3.model.BucketLifecycleConfiguration.Rule
Packages that use BucketLifecycleConfiguration.Rule
Package
Description
Classes modeling the various types represented by Amazon S3.
-
Uses of BucketLifecycleConfiguration.Rule in com.amazonaws.services.s3.model
Methods in com.amazonaws.services.s3.model that return BucketLifecycleConfiguration.RuleModifier and TypeMethodDescriptionBucketLifecycleConfiguration.Rule.addNoncurrentVersionTransition
(BucketLifecycleConfiguration.NoncurrentVersionTransition noncurrentVersionTransition) Adds a new Non current transition to the rule.BucketLifecycleConfiguration.Rule.addTransition
(BucketLifecycleConfiguration.Transition transition) Adds a new transition to the rule.BucketLifecycleConfiguration.Rule.withAbortIncompleteMultipartUpload
(AbortIncompleteMultipartUpload abortIncompleteMultipartUpload) 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.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.withExpiredObjectDeleteMarker
(boolean expiredObjectDeleteMarker) Fluent method for setting the value of the ExpiredObjectDeleteMarkers attributes.Sets the ID of this rule and returns a reference to this object for method chaining.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.withNoncurrentVersionTransition
(BucketLifecycleConfiguration.NoncurrentVersionTransition nonCurrentVersionTransition) Deprecated.BucketLifecycleConfiguration.Rule.withNoncurrentVersionTransitions
(List<BucketLifecycleConfiguration.NoncurrentVersionTransition> noncurrentVersionTransitions) Sets the Amazon S3 non current object transition rules for the given bucket.BucketLifecycleConfiguration.Rule.withPrefix
(String prefix) Sets the key prefix for this rule and returns a reference to this object for method chaining.BucketLifecycleConfiguration.Rule.withStatus
(String status) Sets the status of this rule and returns a reference to this object for method chaining.BucketLifecycleConfiguration.Rule.withTransition
(BucketLifecycleConfiguration.Transition transition) Deprecated.BucketLifecycleConfiguration.Rule.withTransitions
(List<BucketLifecycleConfiguration.Transition> transitions) Sets the Amazon S3 object transition rules for the given bucket.Methods in com.amazonaws.services.s3.model that return types with arguments of type BucketLifecycleConfiguration.RuleModifier and TypeMethodDescriptionBucketLifecycleConfiguration.getRules()
Returns the list of rules that comprise this configuration.Methods in com.amazonaws.services.s3.model with parameters of type BucketLifecycleConfiguration.RuleModifier and TypeMethodDescriptionBucketLifecycleConfiguration.withRules
(BucketLifecycleConfiguration.Rule... rules) Convenience array style method forBucketLifecycleConfiguration.withRules(List)
Method parameters in com.amazonaws.services.s3.model with type arguments of type BucketLifecycleConfiguration.RuleModifier and TypeMethodDescriptionvoid
BucketLifecycleConfiguration.setRules
(List<BucketLifecycleConfiguration.Rule> rules) Sets the rules that comprise this configuration.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 parameters in com.amazonaws.services.s3.model with type arguments of type BucketLifecycleConfiguration.RuleModifierConstructorDescriptionConstructs a newBucketLifecycleConfiguration
object with the rules given.