@Stability(value=Stable) @Internal public static final class CfnBucket.RuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.RuleProperty
CfnBucket.RulePropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnBucket.RuleProperty.Builder, CfnBucket.RuleProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnBucket.RuleProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnBucket.AbortIncompleteMultipartUploadProperty.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) |
Object |
getAbortIncompleteMultipartUpload()
Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3 bucket.
|
Object |
getExpirationDate()
Indicates when objects are deleted from Amazon S3 and Amazon S3 Glacier.
|
Number |
getExpirationInDays()
Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 Glacier.
|
Object |
getExpiredObjectDeleteMarker()
Indicates whether Amazon S3 will remove a delete marker without any noncurrent versions.
|
String |
getId()
Unique identifier for the rule.
|
Object |
getNoncurrentVersionExpiration()
Specifies when noncurrent object versions expire.
|
Number |
getNoncurrentVersionExpirationInDays()
(Deprecated.) 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.
|
Object |
getNoncurrentVersionTransition()
(Deprecated.) For buckets with versioning enabled (or suspended), specifies when non-current objects transition to a specified storage class.
|
Object |
getNoncurrentVersionTransitions()
For buckets with versioning enabled (or suspended), one or more transition rules that specify when non-current objects transition to a specified storage class.
|
Number |
getObjectSizeGreaterThan()
Specifies the minimum object size in bytes for this rule to apply to.
|
Number |
getObjectSizeLessThan()
Specifies the maximum object size in bytes for this rule to apply to.
|
String |
getPrefix()
Object key prefix that identifies one or more objects to which this rule applies.
|
String |
getStatus()
If `Enabled` , the rule is currently being applied.
|
Object |
getTagFilters()
Tags to use to identify a subset of objects to which the lifecycle rule applies.
|
Object |
getTransition()
(Deprecated.) Specifies when an object transitions to a specified storage class.
|
Object |
getTransitions()
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(CfnBucket.RuleProperty.Builder builder)
CfnBucket.AbortIncompleteMultipartUploadProperty.Builder.public final String getStatus()
CfnBucket.RuleProperty
If Disabled , the rule is not currently being applied.
getStatus in interface CfnBucket.RulePropertypublic final Object getAbortIncompleteMultipartUpload()
CfnBucket.RulePropertygetAbortIncompleteMultipartUpload in interface CfnBucket.RulePropertypublic final Object getExpirationDate()
CfnBucket.RulePropertyThe 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.
getExpirationDate in interface CfnBucket.RulePropertypublic final Number getExpirationInDays()
CfnBucket.RulePropertyIf 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.
getExpirationInDays in interface CfnBucket.RulePropertypublic final Object getExpiredObjectDeleteMarker()
CfnBucket.RuleProperty
If set to true, the delete marker will be removed if there are no noncurrent versions. This cannot be specified with ExpirationInDays , ExpirationDate , or TagFilters .
getExpiredObjectDeleteMarker in interface CfnBucket.RulePropertypublic final String getId()
CfnBucket.RulePropertyThe value can't be longer than 255 characters.
getId in interface CfnBucket.RulePropertypublic final Object getNoncurrentVersionExpiration()
CfnBucket.RulePropertyUpon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime.
getNoncurrentVersionExpiration in interface CfnBucket.RulePropertypublic final Number getNoncurrentVersionExpirationInDays()
CfnBucket.RulePropertygetNoncurrentVersionExpirationInDays in interface CfnBucket.RulePropertypublic final Object getNoncurrentVersionTransition()
CfnBucket.RulePropertygetNoncurrentVersionTransition in interface CfnBucket.RulePropertypublic final Object getNoncurrentVersionTransitions()
CfnBucket.RuleProperty
If you specify a transition and expiration time, the expiration time must be later than the transition time. If you specify this property, don't specify the NoncurrentVersionTransition property.
getNoncurrentVersionTransitions in interface CfnBucket.RulePropertypublic final Number getObjectSizeGreaterThan()
CfnBucket.RulePropertyObjects must be larger than this value in bytes. For more information about size based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
getObjectSizeGreaterThan in interface CfnBucket.RulePropertypublic final Number getObjectSizeLessThan()
CfnBucket.RulePropertyObjects must be smaller than this value in bytes. For more information about sized based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
getObjectSizeLessThan in interface CfnBucket.RulePropertypublic final String getPrefix()
CfnBucket.RuleProperty
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints .
getPrefix in interface CfnBucket.RulePropertypublic final Object getTagFilters()
CfnBucket.RulePropertygetTagFilters in interface CfnBucket.RulePropertypublic final Object getTransition()
CfnBucket.RulePropertygetTransition in interface CfnBucket.RulePropertypublic final Object getTransitions()
CfnBucket.RuleProperty
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. If you specify this property, don't specify the Transition property.
getTransitions in interface CfnBucket.RuleProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.