Interface BucketEvents.AWSAPICallViaCloudTrail.RetentionInfo

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
BucketEvents.AWSAPICallViaCloudTrail.RetentionInfo.Jsii$Proxy
Enclosing class:
BucketEvents.AWSAPICallViaCloudTrail

@Stability(Experimental) public static interface BucketEvents.AWSAPICallViaCloudTrail.RetentionInfo extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for RetentionInfo.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.mixins.preview.services.s3.events.*;
 RetentionInfo retentionInfo = RetentionInfo.builder()
         .lastModifiedTime(List.of("lastModifiedTime"))
         .retainUntilMode(List.of("retainUntilMode"))
         .retainUntilTime(List.of("retainUntilTime"))
         .build();
 
  • Method Details

    • getLastModifiedTime

      @Stability(Experimental) @Nullable default List<String> getLastModifiedTime()
      (experimental) lastModifiedTime property.

      Specify an array of string values to match this event if the actual value of lastModifiedTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getRetainUntilMode

      @Stability(Experimental) @Nullable default List<String> getRetainUntilMode()
      (experimental) retainUntilMode property.

      Specify an array of string values to match this event if the actual value of retainUntilMode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getRetainUntilTime

      @Stability(Experimental) @Nullable default List<String> getRetainUntilTime()
      (experimental) retainUntilTime property.

      Specify an array of string values to match this event if the actual value of retainUntilTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      @Stability(Experimental) static BucketEvents.AWSAPICallViaCloudTrail.RetentionInfo.Builder builder()
      Returns:
      a BucketEvents.AWSAPICallViaCloudTrail.RetentionInfo.Builder of BucketEvents.AWSAPICallViaCloudTrail.RetentionInfo