@Stability(value=Experimental) @Internal public static final class LifecycleRule.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LifecycleRule
LifecycleRulesoftware.amazon.jsii.JsiiObject.InitializationModeLifecycleRule.Builder, LifecycleRule.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Duration abortIncompleteMultipartUploadAfter,
Boolean enabled,
Duration expiration,
Instant expirationDate,
String id,
Duration noncurrentVersionExpiration,
List<? extends NoncurrentVersionTransition> noncurrentVersionTransitions,
String prefix,
Map<String,? extends Object> tagFilters,
List<? extends Transition> transitions)
Constructor that initializes the object based on literal property values passed by the
LifecycleRule.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Duration |
getAbortIncompleteMultipartUploadAfter()
(experimental) Specifies a lifecycle rule that aborts incomplete multipart uploads to an Amazon S3 bucket.
|
Boolean |
getEnabled()
(experimental) Whether this rule is enabled.
|
Duration |
getExpiration()
(experimental) Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon Glacier.
|
Instant |
getExpirationDate()
(experimental) Indicates when objects are deleted from Amazon S3 and Amazon Glacier.
|
String |
getId()
(experimental) A unique identifier for this rule.
|
Duration |
getNoncurrentVersionExpiration()
(experimental) Time between when a new version of the object is uploaded to the bucket and when old versions of the object expire.
|
List<NoncurrentVersionTransition> |
getNoncurrentVersionTransitions()
(experimental) One or more transition rules that specify when non-current objects transition to a specified storage class.
|
String |
getPrefix()
(experimental) Object key prefix that identifies one or more objects to which this rule applies.
|
Map<String,Object> |
getTagFilters()
(experimental) The TagFilter property type specifies tags to use to identify a subset of objects for an Amazon S3 bucket.
|
List<Transition> |
getTransitions()
(experimental) One or more transition rules that specify when an object transitions to a specified storage class.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Duration abortIncompleteMultipartUploadAfter, Boolean enabled, Duration expiration, Instant expirationDate, String id, Duration noncurrentVersionExpiration, List<? extends NoncurrentVersionTransition> noncurrentVersionTransitions, String prefix, Map<String,? extends Object> tagFilters, List<? extends Transition> transitions)
LifecycleRule.Builder.public final Duration getAbortIncompleteMultipartUploadAfter()
LifecycleRuleThe AbortIncompleteMultipartUpload property type creates a lifecycle rule that aborts incomplete multipart uploads to an Amazon S3 bucket. When Amazon S3 aborts a multipart upload, it deletes all parts associated with the multipart upload.
Default: Incomplete uploads are never aborted
getAbortIncompleteMultipartUploadAfter in interface LifecycleRulepublic final Boolean getEnabled()
LifecycleRuleDefault: true
getEnabled in interface LifecycleRulepublic final Duration getExpiration()
LifecycleRuleIf you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time.
Default: No expiration timeout
getExpiration in interface LifecycleRulepublic final Instant getExpirationDate()
LifecycleRuleThe date value must be in ISO 8601 format. The time is always midnight UTC.
If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time.
Default: No expiration date
getExpirationDate in interface LifecycleRulepublic final String getId()
LifecycleRuleThe value cannot be more than 255 characters.
getId in interface LifecycleRulepublic final Duration getNoncurrentVersionExpiration()
LifecycleRuleFor buckets with versioning enabled (or suspended), specifies the time, in days, between when a new version of the object is uploaded to the bucket and when old versions of the object expire. When object versions expire, Amazon S3 permanently deletes them. If you specify a transition and expiration time, the expiration time must be later than the transition time.
Default: No noncurrent version expiration
getNoncurrentVersionExpiration in interface LifecycleRulepublic final List<NoncurrentVersionTransition> getNoncurrentVersionTransitions()
LifecycleRuleOnly for for buckets with versioning enabled (or suspended).
If you specify a transition and expiration time, the expiration time must be later than the transition time.
getNoncurrentVersionTransitions in interface LifecycleRulepublic final String getPrefix()
LifecycleRuleDefault: Rule applies to all objects
getPrefix in interface LifecycleRulepublic final Map<String,Object> getTagFilters()
LifecycleRuleDefault: Rule applies to all objects
getTagFilters in interface LifecycleRulepublic final List<Transition> getTransitions()
LifecycleRuleIf you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time.
Default: No transition rules
getTransitions in interface LifecycleRule@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.