Interface BucketEvents.AWSAPICallViaCloudTrail.LegalHoldInfo

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

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

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.*;
 LegalHoldInfo legalHoldInfo = LegalHoldInfo.builder()
         .isUnderLegalHold(List.of("isUnderLegalHold"))
         .lastModifiedTime(List.of("lastModifiedTime"))
         .build();
 
  • Method Details

    • getIsUnderLegalHold

      @Stability(Experimental) @Nullable default List<String> getIsUnderLegalHold()
      (experimental) isUnderLegalHold property.

      Specify an array of string values to match this event if the actual value of isUnderLegalHold 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

    • 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

    • builder

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