Interface StorageBucketObjectRetention

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    StorageBucketObjectRetention.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:22.844Z")
    @Stability(Stable)
    public interface StorageBucketObjectRetention
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getMode

        @Stability(Stable)
        @NotNull
        String getMode()
        The object retention mode. Supported values include: "Unlocked", "Locked".

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#mode StorageBucketObject#mode}

      • getRetainUntilTime

        @Stability(Stable)
        @NotNull
        String getRetainUntilTime()
        Time in RFC 3339 (e.g. 2030-01-01T02:03:04Z) until which object retention protects this object.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#retain_until_time StorageBucketObject#retain_until_time}