Class CellsetPatch.Builder

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

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

    • id

      public CellsetPatch.Builder id(@Nullable String id)
      Sets ID: Read-only property that provides a unique identifier for the cellset for the current session.
      Parameters:
      id - the value; null sends an explicit null
      Returns:
      this builder
    • cube

      public CellsetPatch.Builder cube(@Nullable CubePatch cube)
      Sets Cube: The contents of the cellset. (nested, for a deep insert)
      Parameters:
      cube - the value; null sends an explicit null
      Returns:
      this builder
    • bindCube

      public CellsetPatch.Builder bindCube(ODataPath target)
      Binds Cube to an existing entity (Cube@odata.bind).
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • axes

      public CellsetPatch.Builder axes(@Nullable List<CellsetAxisPatch> axes)
      Sets Axes: A collection of axes for the cellset. (nested, for a deep insert)
      Parameters:
      axes - the value; null sends an explicit null
      Returns:
      this builder
    • bindAxes

      public CellsetPatch.Builder bindAxes(ODataPath... targets)
      Binds Axes to existing entities (Axes@odata.bind).
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • cells

      public CellsetPatch.Builder cells(@Nullable List<CellsetCellPatch> cells)
      Sets Cells: Individual cell value that makes up part of the cellset. (nested, for a deep insert)
      Parameters:
      cells - the value; null sends an explicit null
      Returns:
      this builder
    • bindCells

      public CellsetPatch.Builder bindCells(ODataPath... targets)
      Binds Cells to existing entities (Cells@odata.bind).
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • build

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