Class StorageBucketRetentionPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.storage_bucket.StorageBucketRetentionPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
StorageBucketRetentionPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- StorageBucketRetentionPolicy
@Stability(Stable) @Internal public static final class StorageBucketRetentionPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StorageBucketRetentionPolicy
An implementation forStorageBucketRetentionPolicy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.storage_bucket.StorageBucketRetentionPolicy
StorageBucketRetentionPolicy.Builder, StorageBucketRetentionPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(StorageBucketRetentionPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theStorageBucketRetentionPolicy.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetIsLocked()If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy.NumbergetRetentionPeriod()The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(StorageBucketRetentionPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theStorageBucketRetentionPolicy.Builder.
-
-
Method Detail
-
getRetentionPeriod
public final Number getRetentionPeriod()
Description copied from interface:StorageBucketRetentionPolicyThe period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived.The value must be less than 3,155,760,000 seconds. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#retention_period StorageBucket#retention_period}
- Specified by:
getRetentionPeriodin interfaceStorageBucketRetentionPolicy
-
getIsLocked
public final Object getIsLocked()
Description copied from interface:StorageBucketRetentionPolicyIf set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy.Caution: Locking a bucket is an irreversible action. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#is_locked StorageBucket#is_locked}
- Specified by:
getIsLockedin interfaceStorageBucketRetentionPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-