Class CfnBucket.RuleProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.s3.CfnBucket.RuleProperty.Jsii$Proxy
All Implemented Interfaces:
CfnBucket.RuleProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnBucket.RuleProperty

@Stability(Stable) @Internal public static final class CfnBucket.RuleProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucket.RuleProperty
An implementation for CfnBucket.RuleProperty
  • 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

      protected Jsii$Proxy(CfnBucket.RuleProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnBucket.RuleProperty.Builder.
  • Method Details

    • getStatus

      public final String getStatus()
      Description copied from interface: CfnBucket.RuleProperty
      If Enabled , the rule is currently being applied.

      If Disabled , the rule is not currently being applied.

      Specified by:
      getStatus in interface CfnBucket.RuleProperty
    • getAbortIncompleteMultipartUpload

      public final Object 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 interface CfnBucket.RuleProperty
    • getExpirationDate

      public final Object 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 interface CfnBucket.RuleProperty
    • getExpirationInDays

      public final Number 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 interface CfnBucket.RuleProperty
    • getExpiredObjectDeleteMarker

      public final Object 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 , or TagFilters .

      Specified by:
      getExpiredObjectDeleteMarker in interface CfnBucket.RuleProperty
    • getId

      public final String 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 interface CfnBucket.RuleProperty
    • getNoncurrentVersionExpiration

      public final Object 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 interface CfnBucket.RuleProperty
    • getNoncurrentVersionExpirationInDays

      public final Number 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 interface CfnBucket.RuleProperty
    • getNoncurrentVersionTransition

      public final Object 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 the NoncurrentVersionTransitions property.
      Specified by:
      getNoncurrentVersionTransition in interface CfnBucket.RuleProperty
    • getNoncurrentVersionTransitions

      public final Object 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 interface CfnBucket.RuleProperty
    • getObjectSizeGreaterThan

      public final Number 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 interface CfnBucket.RuleProperty
    • getObjectSizeLessThan

      public final Number 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 interface CfnBucket.RuleProperty
    • getPrefix

      public final String 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 interface CfnBucket.RuleProperty
    • getTagFilters

      public final Object 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 interface CfnBucket.RuleProperty
    • getTransition

      public final Object 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 the Transitions property.
      Specified by:
      getTransition in interface CfnBucket.RuleProperty
    • getTransitions

      public final Object 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 interface CfnBucket.RuleProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object