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.Transition |
BucketLifecycleConfiguration.Rule.getTransition()
Deprecated.
|
BucketLifecycleConfiguration.Transition |
BucketLifecycleConfiguration.Transition.withDate(Date expirationDate)
Set the expiration date of this object and returns a reference to
this object(Transition) for method chaining.
|
BucketLifecycleConfiguration.Transition |
BucketLifecycleConfiguration.Transition.withDays(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.Transition |
BucketLifecycleConfiguration.Transition.withStorageClass(StorageClass storageClass)
Sets the storage class of this object and returns a reference to this object for method
chaining.
|
BucketLifecycleConfiguration.Transition |
BucketLifecycleConfiguration.Transition.withStorageClass(String storageClass)
Sets the storage class of this object and returns a reference to this object for method
chaining.
|
Modifier and Type | Method and Description |
---|---|
List<BucketLifecycleConfiguration.Transition> |
BucketLifecycleConfiguration.Rule.getTransitions()
Returns the Amazon S3 object transition rules associated with the
given rule.
|
Modifier and Type | Method and Description |
---|---|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.addTransition(BucketLifecycleConfiguration.Transition transition)
Adds a new transition to the rule.
|
void |
BucketLifecycleConfiguration.Rule.setTransition(BucketLifecycleConfiguration.Transition transition)
Deprecated.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withTransition(BucketLifecycleConfiguration.Transition transition)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
BucketLifecycleConfiguration.Rule.setTransitions(List<BucketLifecycleConfiguration.Transition> transitions)
Sets the Amazon S3 object transition rules for the given bucket.
|
BucketLifecycleConfiguration.Rule |
BucketLifecycleConfiguration.Rule.withTransitions(List<BucketLifecycleConfiguration.Transition> transitions)
Sets the Amazon S3 object transition rules for the given bucket.
|
Copyright © 2024. All rights reserved.