Class LifecycleRule.Jsii$Proxy
- All Implemented Interfaces:
LifecycleRule,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
LifecycleRule
LifecycleRule-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.LifecycleRule
LifecycleRule.Builder, LifecycleRule.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(LifecycleRule.Builder builder) Constructor that initializes the object based on literal property values passed by theLifecycleRule.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal DurationSpecifies a lifecycle rule that aborts incomplete multipart uploads to an Amazon S3 bucket.final BooleanWhether this rule is enabled.final DurationIndicates the number of days after creation when objects are deleted from Amazon S3 and Amazon Glacier.final InstantIndicates when objects are deleted from Amazon S3 and Amazon Glacier.final BooleanIndicates whether Amazon S3 will remove a delete marker with no noncurrent versions.final StringgetId()A unique identifier for this rule.final DurationTime between when a new version of the object is uploaded to the bucket and when old versions of the object expire.final NumberIndicates a maximum number of noncurrent versions to retain.final List<NoncurrentVersionTransition> One or more transition rules that specify when non-current objects transition to a specified storage class.final NumberSpecifies the minimum object size in bytes for this rule to apply to.final NumberSpecifies the maximum object size in bytes for this rule to apply to.final StringObject key prefix that identifies one or more objects to which this rule applies.The TagFilter property type specifies tags to use to identify a subset of objects for an Amazon S3 bucket.final List<Transition> One or more transition rules that specify when an object transitions to a specified storage class.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theLifecycleRule.Builder.
-
-
Method Details
-
getAbortIncompleteMultipartUploadAfter
Description copied from interface:LifecycleRuleSpecifies a lifecycle rule that aborts incomplete multipart uploads to an Amazon S3 bucket.The 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.
The underlying configuration is expressed in whole numbers of days. Providing a Duration that does not represent a whole number of days will result in a runtime or deployment error.
Default: - Incomplete uploads are never aborted
- Specified by:
getAbortIncompleteMultipartUploadAfterin interfaceLifecycleRule
-
getEnabled
Description copied from interface:LifecycleRuleWhether this rule is enabled.Default: true
- Specified by:
getEnabledin interfaceLifecycleRule
-
getExpiration
Description copied from interface:LifecycleRuleIndicates the number of days after creation when objects are deleted from Amazon S3 and Amazon Glacier.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.
The underlying configuration is expressed in whole numbers of days. Providing a Duration that does not represent a whole number of days will result in a runtime or deployment error.
Default: - No expiration timeout
- Specified by:
getExpirationin interfaceLifecycleRule
-
getExpirationDate
Description copied from interface:LifecycleRuleIndicates when objects are deleted from Amazon S3 and Amazon Glacier.The 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
- Specified by:
getExpirationDatein interfaceLifecycleRule
-
getExpiredObjectDeleteMarker
Description copied from interface:LifecycleRuleIndicates whether Amazon S3 will remove a delete marker with no noncurrent versions.If set to true, the delete marker will be expired.
Default: false
- Specified by:
getExpiredObjectDeleteMarkerin interfaceLifecycleRule
-
getId
Description copied from interface:LifecycleRuleA unique identifier for this rule.The value cannot be more than 255 characters.
- Specified by:
getIdin interfaceLifecycleRule
-
getNoncurrentVersionExpiration
Description copied from interface:LifecycleRuleTime between when a new version of the object is uploaded to the bucket and when old versions of the object expire.For 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.
The underlying configuration is expressed in whole numbers of days. Providing a Duration that does not represent a whole number of days will result in a runtime or deployment error.
Default: - No noncurrent version expiration
- Specified by:
getNoncurrentVersionExpirationin interfaceLifecycleRule
-
getNoncurrentVersionsToRetain
Description copied from interface:LifecycleRuleIndicates a maximum number of noncurrent versions to retain.If there are this many more noncurrent versions, Amazon S3 permanently deletes them.
Default: - No noncurrent versions to retain
- Specified by:
getNoncurrentVersionsToRetainin interfaceLifecycleRule
-
getNoncurrentVersionTransitions
Description copied from interface:LifecycleRuleOne or more transition rules that specify when non-current objects transition to a specified storage class.Only 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.
- Specified by:
getNoncurrentVersionTransitionsin interfaceLifecycleRule
-
getObjectSizeGreaterThan
Description copied from interface:LifecycleRuleSpecifies the minimum object size in bytes for this rule to apply to.Objects must be larger than this value in bytes.
Default: - No rule
- Specified by:
getObjectSizeGreaterThanin interfaceLifecycleRule
-
getObjectSizeLessThan
Description copied from interface:LifecycleRuleSpecifies the maximum object size in bytes for this rule to apply to.Objects must be smaller than this value in bytes.
Default: - No rule
- Specified by:
getObjectSizeLessThanin interfaceLifecycleRule
-
getPrefix
Description copied from interface:LifecycleRuleObject key prefix that identifies one or more objects to which this rule applies.Default: - Rule applies to all objects
- Specified by:
getPrefixin interfaceLifecycleRule
-
getTagFilters
Description copied from interface:LifecycleRuleThe TagFilter property type specifies tags to use to identify a subset of objects for an Amazon S3 bucket.Default: - Rule applies to all objects
- Specified by:
getTagFiltersin interfaceLifecycleRule
-
getTransitions
Description copied from interface:LifecycleRuleOne or more transition rules that specify when an object transitions to a specified storage class.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 transition rules
- Specified by:
getTransitionsin interfaceLifecycleRule
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-