Class ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_resource_policy.ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy
@Stability(Stable) @Internal public static final class ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy
An implementation forComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy
-
-
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.compute_resource_policy.ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy
ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder, ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.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)NumbergetMaxRetentionDays()Maximum age of the snapshot that is allowed to be kept.StringgetOnSourceDiskDelete()Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.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(ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder.
-
-
Method Detail
-
getMaxRetentionDays
public final Number getMaxRetentionDays()
Description copied from interface:ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyMaximum age of the snapshot that is allowed to be kept.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#max_retention_days ComputeResourcePolicy#max_retention_days}
- Specified by:
getMaxRetentionDaysin interfaceComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy
-
getOnSourceDiskDelete
public final String getOnSourceDiskDelete()
Description copied from interface:ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicySpecifies the behavior to apply to scheduled snapshots when the source disk is deleted.Default value: "KEEP_AUTO_SNAPSHOTS" Possible values: ["KEEP_AUTO_SNAPSHOTS", "APPLY_RETENTION_POLICY"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#on_source_disk_delete ComputeResourcePolicy#on_source_disk_delete}
- Specified by:
getOnSourceDiskDeletein interfaceComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-