Class DedicatedHostDiskPatch

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.DedicatedHostDiskPatch
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class DedicatedHostDiskPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
DedicatedHostDiskPatch.
  • Method Details

    • newBuilder

      public DedicatedHostDiskPatch.Builder newBuilder()
      New builder.
      Returns:
      a DedicatedHostDiskPatch builder
    • name

      public String name()
      Gets the name. The name for this dedicated host disk. The name must not be used by another disk on the dedicated host.
      Returns:
      the name
    • asPatch

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