public static class ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ResourcePolicySnapshotSchedulePolicyRetentionPolicy |
build() |
ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder |
clone() |
Integer |
getMaxRetentionDays()
Maximum age of the snapshot that is allowed to be kept.
|
String |
getOnSourceDiskDelete()
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
|
ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder |
mergeFrom(ResourcePolicySnapshotSchedulePolicyRetentionPolicy other) |
ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder |
setMaxRetentionDays(Integer maxRetentionDays)
Maximum age of the snapshot that is allowed to be kept.
|
ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder |
setOnSourceDiskDelete(String onSourceDiskDelete)
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
|
public ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder mergeFrom(ResourcePolicySnapshotSchedulePolicyRetentionPolicy other)
public Integer getMaxRetentionDays()
public ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder setMaxRetentionDays(Integer maxRetentionDays)
public String getOnSourceDiskDelete()
public ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder setOnSourceDiskDelete(String onSourceDiskDelete)
public ResourcePolicySnapshotSchedulePolicyRetentionPolicy build()
public ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.