Interface ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.917Z") @Stability(Stable) public interface ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builderstatic classComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Jsii$ProxyAn implementation forComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builderbuilder()NumbergetMaxRetentionDays()Maximum age of the snapshot that is allowed to be kept.default StringgetOnSourceDiskDelete()Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
-
-
-
Method Detail
-
getMaxRetentionDays
@Stability(Stable) @NotNull Number getMaxRetentionDays()
Maximum 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}
-
getOnSourceDiskDelete
@Stability(Stable) @Nullable default String getOnSourceDiskDelete()
Specifies 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}
-
builder
@Stability(Stable) static ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder builder()
-
-