Package com.ibm.cloud.is.vpc.v1.model
Class SnapshotConsistencyGroupPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.SnapshotConsistencyGroupPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SnapshotConsistencyGroupPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
SnapshotConsistencyGroupPatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SnapshotConsistencyGroupPatch.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
asPatch()
Construct a JSON merge-patch from the SnapshotConsistencyGroupPatch.Boolean
deleteSnapshotsOnDelete()
Gets the deleteSnapshotsOnDelete.String
name()
Gets the name.SnapshotConsistencyGroupPatch.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public SnapshotConsistencyGroupPatch.Builder newBuilder()
New builder.- Returns:
- a SnapshotConsistencyGroupPatch builder
-
deleteSnapshotsOnDelete
public Boolean deleteSnapshotsOnDelete()
Gets the deleteSnapshotsOnDelete. Indicates whether deleting the snapshot consistency group will also delete the snapshots in the group.- Returns:
- the deleteSnapshotsOnDelete
-
name
public String name()
Gets the name. The name for this snapshot consistency group. The name must not be used by another snapshot consistency groups in the region.- Returns:
- the name
-
asPatch
public Map<String,Object> asPatch()
Construct a JSON merge-patch from the SnapshotConsistencyGroupPatch. Note that properties of the SnapshotConsistencyGroupPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the SnapshotConsistencyGroupPatch
-
-