Class InstanceClusterNetworkAttachmentPatch

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

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

    • newBuilder

      New builder.
      Returns:
      a InstanceClusterNetworkAttachmentPatch builder
    • name

      public String name()
      Gets the name. The name for this network attachment. The name must not be used by another network attachment for the instance. Names starting with `ibm-` are reserved for provider-owned resources, and are not allowed.
      Returns:
      the name
    • asPatch

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