@Generated(value="by GAPIC") @BetaApi public final class ResourcePolicySnapshotSchedulePolicyRetentionPolicy extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
static ResourcePolicySnapshotSchedulePolicyRetentionPolicy |
getDefaultInstance() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
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.
|
int |
hashCode() |
static ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder |
newBuilder() |
static ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder |
newBuilder(ResourcePolicySnapshotSchedulePolicyRetentionPolicy prototype) |
ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public Integer getMaxRetentionDays()
public String getOnSourceDiskDelete()
public static ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder newBuilder()
public static ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder newBuilder(ResourcePolicySnapshotSchedulePolicyRetentionPolicy prototype)
public ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder toBuilder()
public static ResourcePolicySnapshotSchedulePolicyRetentionPolicy getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.