Interface CfnBucket.RuleProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnBucket.RuleProperty extends
A container for an Amazon S3 on Outposts bucket lifecycle rule.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object filter;
 RuleProperty ruleProperty = RuleProperty.builder()
         // the properties below are optional
  • Method Details

    • getStatus

      @Stability(Stable) @NotNull String getStatus()
      If Enabled , the rule is currently being applied.

      If Disabled , the rule is not currently being applied.

    • getAbortIncompleteMultipartUpload

      @Stability(Stable) @Nullable default Object getAbortIncompleteMultipartUpload()
      The container for the abort incomplete multipart upload rule.
    • getExpirationDate

      @Stability(Stable) @Nullable default String getExpirationDate()
      Specifies the expiration for the lifecycle of the object by specifying an expiry date.
    • getExpirationInDays

      @Stability(Stable) @Nullable default Number getExpirationInDays()
      Specifies the expiration for the lifecycle of the object in the form of days that the object has been in the S3 on Outposts bucket.
    • getFilter

      @Stability(Stable) @Nullable default Object getFilter()
      The container for the filter of the lifecycle rule.
    • getId

      @Stability(Stable) @Nullable default String getId()
      The unique identifier for the lifecycle rule.

      The value can't be longer than 255 characters.

    • builder

      @Stability(Stable) static CfnBucket.RuleProperty.Builder builder()
      a CfnBucket.RuleProperty.Builder of CfnBucket.RuleProperty