Interface BucketEvents.AWSAPICallViaCloudTrail.ObjectRetentionInfo

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

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

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.*;
 ObjectRetentionInfo objectRetentionInfo = ObjectRetentionInfo.builder()
         .legalHoldInfo(LegalHoldInfo.builder()
                 .isUnderLegalHold(List.of("isUnderLegalHold"))
                 .lastModifiedTime(List.of("lastModifiedTime"))
                 .build())
         .retentionInfo(RetentionInfo.builder()
                 .lastModifiedTime(List.of("lastModifiedTime"))
                 .retainUntilMode(List.of("retainUntilMode"))
                 .retainUntilTime(List.of("retainUntilTime"))
                 .build())
         .build();