Class InstanceTemplatePatch

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

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

    • newBuilder

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

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

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