Class 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.
    • Method Detail

      • 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