Class CfnBucket.RuleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnBucket.RuleProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnBucket.RuleProperty
CfnBucket.RuleProperty
-
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.CfnBucket.RuleProperty
CfnBucket.RuleProperty.Builder, CfnBucket.RuleProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnBucket.RuleProperty.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnBucket.RuleProperty.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 Object
Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3 bucket.final Object
Indicates when objects are deleted from Amazon S3 and Amazon S3 Glacier.final Number
Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 Glacier.final Object
Indicates whether Amazon S3 will remove a delete marker without any noncurrent versions.final String
getId()
Unique identifier for the rule.final Object
Specifies when noncurrent object versions expire.final Number
(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.final Object
(Deprecated.) For buckets with versioning enabled (or suspended), specifies when non-current objects transition to a specified storage class.final Object
For buckets with versioning enabled (or suspended), 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.final String
IfEnabled
, the rule is currently being applied.final Object
Tags to use to identify a subset of objects to which the lifecycle rule applies.final Object
(Deprecated.) Specifies when an object transitions to a specified storage class.final Object
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 theCfnBucket.RuleProperty.Builder
.
-
-
Method Details
-
getStatus
Description copied from interface:CfnBucket.RuleProperty
IfEnabled
, the rule is currently being applied.If
Disabled
, the rule is not currently being applied.- Specified by:
getStatus
in interfaceCfnBucket.RuleProperty
-
getAbortIncompleteMultipartUpload
Description copied from interface:CfnBucket.RuleProperty
Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3 bucket.- Specified by:
getAbortIncompleteMultipartUpload
in interfaceCfnBucket.RuleProperty
-
getExpirationDate
Description copied from interface:CfnBucket.RuleProperty
Indicates when objects are deleted from Amazon S3 and Amazon S3 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.
- Specified by:
getExpirationDate
in interfaceCfnBucket.RuleProperty
-
getExpirationInDays
Description copied from interface:CfnBucket.RuleProperty
Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 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.
- Specified by:
getExpirationInDays
in interfaceCfnBucket.RuleProperty
-
getExpiredObjectDeleteMarker
Description copied from interface:CfnBucket.RuleProperty
Indicates whether Amazon S3 will remove a delete marker without any noncurrent versions.If set to true, the delete marker will be removed if there are no noncurrent versions. This cannot be specified with
ExpirationInDays
,ExpirationDate
, orTagFilters
.- Specified by:
getExpiredObjectDeleteMarker
in interfaceCfnBucket.RuleProperty
-
getId
Description copied from interface:CfnBucket.RuleProperty
Unique identifier for the rule.The value can't be longer than 255 characters.
- Specified by:
getId
in interfaceCfnBucket.RuleProperty
-
getNoncurrentVersionExpiration
Description copied from interface:CfnBucket.RuleProperty
Specifies when noncurrent object versions expire.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.
- Specified by:
getNoncurrentVersionExpiration
in interfaceCfnBucket.RuleProperty
-
getNoncurrentVersionExpirationInDays
Description copied from interface:CfnBucket.RuleProperty
(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. 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.- Specified by:
getNoncurrentVersionExpirationInDays
in interfaceCfnBucket.RuleProperty
-
getNoncurrentVersionTransition
Description copied from interface:CfnBucket.RuleProperty
(Deprecated.) For buckets with versioning enabled (or suspended), specifies when non-current objects transition to a specified storage class. 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 theNoncurrentVersionTransitions
property.- Specified by:
getNoncurrentVersionTransition
in interfaceCfnBucket.RuleProperty
-
getNoncurrentVersionTransitions
Description copied from interface:CfnBucket.RuleProperty
For buckets with versioning enabled (or suspended), one or more transition rules that specify when non-current objects transition to a specified storage class.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.- Specified by:
getNoncurrentVersionTransitions
in interfaceCfnBucket.RuleProperty
-
getObjectSizeGreaterThan
Description copied from interface:CfnBucket.RuleProperty
Specifies the minimum object size in bytes for this rule to apply to.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 .
- Specified by:
getObjectSizeGreaterThan
in interfaceCfnBucket.RuleProperty
-
getObjectSizeLessThan
Description copied from interface:CfnBucket.RuleProperty
Specifies the maximum object size in bytes for this rule to apply to.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 .
- Specified by:
getObjectSizeLessThan
in interfaceCfnBucket.RuleProperty
-
getPrefix
Description copied from interface:CfnBucket.RuleProperty
Object key prefix that identifies one or more objects to which this rule applies.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 .
- Specified by:
getPrefix
in interfaceCfnBucket.RuleProperty
-
getTagFilters
Description copied from interface:CfnBucket.RuleProperty
Tags to use to identify a subset of objects to which the lifecycle rule applies.- Specified by:
getTagFilters
in interfaceCfnBucket.RuleProperty
-
getTransition
Description copied from interface:CfnBucket.RuleProperty
(Deprecated.) Specifies 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. If you specify this property, don't specify theTransitions
property.- Specified by:
getTransition
in interfaceCfnBucket.RuleProperty
-
getTransitions
Description copied from interface:CfnBucket.RuleProperty
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. If you specify this property, don't specify the
Transition
property.- Specified by:
getTransitions
in interfaceCfnBucket.RuleProperty
-
$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()
-