Class ColumnPatch

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

    public class ColumnPatch
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    list of columns to be added to a table.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ColumnPatch.Builder
      Builder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> asPatch()
      Construct a JSON merge-patch from the ColumnPatch.
      java.lang.String columnName()
      Gets the columnName.
      ColumnPatch.Builder newBuilder()
      New builder.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • newBuilder

        public ColumnPatch.Builder newBuilder()
        New builder.
        Returns:
        a ColumnPatch builder
      • columnName

        public java.lang.String columnName()
        Gets the columnName. Column name.
        Returns:
        the columnName
      • asPatch

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