Class CubeUpdatePatch.Builder

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

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

    • value

      public CubeUpdatePatch.Builder value(@Nullable Object value)
      Sets Value: The numeric value, string value, spreading command or null value with which the cell is updated.
      Parameters:
      value - the value; null sends an explicit null
      Returns:
      this builder
    • tuple

      public CubeUpdatePatch.Builder tuple(@Nullable List<ElementPatch> tuple)
      Sets Tuple: the Tuple property (nested, for a deep insert)
      Parameters:
      tuple - the value; null sends an explicit null
      Returns:
      this builder
    • bindTuple

      public CubeUpdatePatch.Builder bindTuple(ODataPath... targets)
      Binds Tuple to existing entities (Tuple@odata.bind).
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • referenceCube

      public CubeUpdatePatch.Builder referenceCube(@Nullable CubePatch referenceCube)
      Sets ReferenceCube: the ReferenceCube property (nested, for a deep insert)
      Parameters:
      referenceCube - the value; null sends an explicit null
      Returns:
      this builder
    • bindReferenceCube

      public CubeUpdatePatch.Builder bindReferenceCube(ODataPath target)
      Binds ReferenceCube to an existing entity (ReferenceCube@odata.bind).
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • referenceCell

      public CubeUpdatePatch.Builder referenceCell(@Nullable List<ElementPatch> referenceCell)
      Sets ReferenceCell: the ReferenceCell property (nested, for a deep insert)
      Parameters:
      referenceCell - the value; null sends an explicit null
      Returns:
      this builder
    • bindReferenceCell

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

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