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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.s3.LifecycleRule
LifecycleRule.Builder, LifecycleRule.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(LifecycleRule.Builder builder) Constructor that initializes the object based on literal property values passed by theLifecycleRule.Builder
.protected
Jsii$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.JsonNode
final boolean
final Duration
Specifies a lifecycle rule that aborts incomplete multipart uploads to an Amazon S3 bucket.final Boolean
Whether this rule is enabled.final Duration
Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon Glacier.final Instant
Indicates when objects are deleted from Amazon S3 and Amazon Glacier.final Boolean
Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions.final String
getId()
A unique identifier for this rule.final Duration
Time between when a new version of the object is uploaded to the bucket and when old versions of the object expire.final Number
Indicates 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 Number
Specifies the minimum object size in bytes for this rule to apply to.final Number
Specifies the maximum object size in bytes for this rule to apply to.final String
Object 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 int
hashCode()
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:LifecycleRule
Specifies 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:
getAbortIncompleteMultipartUploadAfter
in interfaceLifecycleRule
-
getEnabled
Description copied from interface:LifecycleRule
Whether this rule is enabled.Default: true
- Specified by:
getEnabled
in interfaceLifecycleRule
-
getExpiration
Description copied from interface:LifecycleRule
Indicates 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:
getExpiration
in interfaceLifecycleRule
-
getExpirationDate
Description copied from interface:LifecycleRule
Indicates 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:
getExpirationDate
in interfaceLifecycleRule
-
getExpiredObjectDeleteMarker
Description copied from interface:LifecycleRule
Indicates 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:
getExpiredObjectDeleteMarker
in interfaceLifecycleRule
-
getId
Description copied from interface:LifecycleRule
A unique identifier for this rule.The value cannot be more than 255 characters.
- Specified by:
getId
in interfaceLifecycleRule
-
getNoncurrentVersionExpiration
Description copied from interface:LifecycleRule
Time 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:
getNoncurrentVersionExpiration
in interfaceLifecycleRule
-
getNoncurrentVersionsToRetain
Description copied from interface:LifecycleRule
Indicates 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:
getNoncurrentVersionsToRetain
in interfaceLifecycleRule
-
getNoncurrentVersionTransitions
Description copied from interface:LifecycleRule
One or more transition rules that specify when non-current objects transition to a specified storage class.Only 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.
- Specified by:
getNoncurrentVersionTransitions
in interfaceLifecycleRule
-
getObjectSizeGreaterThan
Description copied from interface:LifecycleRule
Specifies 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:
getObjectSizeGreaterThan
in interfaceLifecycleRule
-
getObjectSizeLessThan
Description copied from interface:LifecycleRule
Specifies 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:
getObjectSizeLessThan
in interfaceLifecycleRule
-
getPrefix
Description copied from interface:LifecycleRule
Object key prefix that identifies one or more objects to which this rule applies.Default: - Rule applies to all objects
- Specified by:
getPrefix
in interfaceLifecycleRule
-
getTagFilters
Description copied from interface:LifecycleRule
The 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:
getTagFilters
in interfaceLifecycleRule
-
getTransitions
Description copied from interface:LifecycleRule
One 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:
getTransitions
in interfaceLifecycleRule
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-