public static final class CfnBucket.RuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.RuleProperty
CfnBucket.RuleProperty
CfnBucket.RuleProperty.Builder, CfnBucket.RuleProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
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(java.lang.Object o) |
java.lang.Object |
getAbortIncompleteMultipartUpload()
Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3 bucket.
|
java.lang.Object |
getExpirationDate()
Indicates when objects are deleted from Amazon S3 and Amazon S3 Glacier.
|
java.lang.Number |
getExpirationInDays()
Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 Glacier.
|
java.lang.Object |
getExpiredObjectDeleteMarker()
Indicates whether Amazon S3 will remove a delete marker without any noncurrent versions.
|
java.lang.String |
getId()
Unique identifier for the rule.
|
java.lang.Object |
getNoncurrentVersionExpiration()
Specifies when noncurrent object versions expire.
|
java.lang.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.
|
java.lang.Object |
getNoncurrentVersionTransition()
(Deprecated.) For buckets with versioning enabled (or suspended), specifies when non-current objects transition to a specified storage class.
|
java.lang.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.
|
java.lang.Number |
getObjectSizeGreaterThan()
Specifies the minimum object size in bytes for this rule to apply to.
|
java.lang.Number |
getObjectSizeLessThan()
Specifies the maximum object size in bytes for this rule to apply to.
|
java.lang.String |
getPrefix()
Object key prefix that identifies one or more objects to which this rule applies.
|
java.lang.String |
getStatus()
If `Enabled` , the rule is currently being applied.
|
java.lang.Object |
getTagFilters()
Tags to use to identify a subset of objects to which the lifecycle rule applies.
|
java.lang.Object |
getTransition()
(Deprecated.) Specifies when an object transitions to a specified storage class.
|
java.lang.Object |
getTransitions()
One or more transition rules that specify when an object transitions to a specified storage class.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getStatus()
CfnBucket.RuleProperty
If Disabled
, the rule is not currently being applied.
getStatus
in interface CfnBucket.RuleProperty
public final java.lang.Object getAbortIncompleteMultipartUpload()
CfnBucket.RuleProperty
getAbortIncompleteMultipartUpload
in interface CfnBucket.RuleProperty
public final java.lang.Object getExpirationDate()
CfnBucket.RuleProperty
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.
getExpirationDate
in interface CfnBucket.RuleProperty
public final java.lang.Number getExpirationInDays()
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.
getExpirationInDays
in interface CfnBucket.RuleProperty
public final java.lang.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.RuleProperty
public final java.lang.String getId()
CfnBucket.RuleProperty
The value can't be longer than 255 characters.
getId
in interface CfnBucket.RuleProperty
public final java.lang.Object getNoncurrentVersionExpiration()
CfnBucket.RuleProperty
Upon 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.RuleProperty
public final java.lang.Number getNoncurrentVersionExpirationInDays()
CfnBucket.RuleProperty
getNoncurrentVersionExpirationInDays
in interface CfnBucket.RuleProperty
public final java.lang.Object getNoncurrentVersionTransition()
CfnBucket.RuleProperty
getNoncurrentVersionTransition
in interface CfnBucket.RuleProperty
public final java.lang.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.RuleProperty
public final java.lang.Number getObjectSizeGreaterThan()
CfnBucket.RuleProperty
Objects 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.RuleProperty
public final java.lang.Number getObjectSizeLessThan()
CfnBucket.RuleProperty
Objects 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.RuleProperty
public final java.lang.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.RuleProperty
public final java.lang.Object getTagFilters()
CfnBucket.RuleProperty
getTagFilters
in interface CfnBucket.RuleProperty
public final java.lang.Object getTransition()
CfnBucket.RuleProperty
getTransition
in interface CfnBucket.RuleProperty
public final java.lang.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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()