Class ProcessDataSourcePatch.Builder

java.lang.Object
io.skipcheck.tm1.client.model.ProcessDataSourcePatch.Builder
Enclosing class:
ProcessDataSourcePatch

public static final class ProcessDataSourcePatch.Builder extends Object
Builds a ProcessDataSourcePatch; each setter replaces what an earlier call set.
  • Method Details

    • type

      public ProcessDataSourcePatch.Builder type(@Nullable String type)
      Sets Type: the Type property
      Parameters:
      type - the value; null sends an explicit null
      Returns:
      this builder
    • property

      public ProcessDataSourcePatch.Builder property(String name, @Nullable Object value)
      Sets a property $metadata doesn't declare, which this open type can have, such as an attribute's value.
      Parameters:
      name - the property's name, as TM1 writes it
      value - the value; null sends an explicit null
      Returns:
      this builder
    • build

      public ProcessDataSourcePatch build()
      The patch, with what's been set so far.
      Returns:
      the patch