Class SnapshotPatch

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class SnapshotPatch
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    SnapshotPatch.
    • Method Detail

      • name

        public String name()
        Gets the name. The name for this snapshot. The name must not be used by another snapshot in the region.
        Returns:
        the name
      • userTags

        public List<String> userTags()
        Gets the userTags. The [user tags](https://cloud.ibm.com/apidocs/tagging#types-of-tags) associated with this snapshot.
        Returns:
        the userTags
      • asPatch

        public Map<String,​Object> asPatch()
        Construct a JSON merge-patch from the SnapshotPatch. Note that properties of the SnapshotPatch 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 SnapshotPatch