Class EdgePatch.Builder

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

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

    • parentName

      public EdgePatch.Builder parentName(@Nullable String parentName)
      Sets ParentName: The name of the parent of the component in the hierarchy.
      Parameters:
      parentName - the value; null sends an explicit null
      Returns:
      this builder
    • componentName

      public EdgePatch.Builder componentName(@Nullable String componentName)
      Sets ComponentName: The name of the component in the hierarchy.
      Parameters:
      componentName - the value; null sends an explicit null
      Returns:
      this builder
    • weight

      public EdgePatch.Builder weight(@Nullable Double weight)
      Sets Weight: The weight of the component in the edge.
      Parameters:
      weight - the value; null sends an explicit null
      Returns:
      this builder
    • hierarchy

      public EdgePatch.Builder hierarchy(@Nullable HierarchyPatch hierarchy)
      Sets Hierarchy: The hierarchy of the component in the edge. (nested, for a deep insert)
      Parameters:
      hierarchy - the value; null sends an explicit null
      Returns:
      this builder
    • bindHierarchy

      public EdgePatch.Builder bindHierarchy(ODataPath target)
      Binds Hierarchy to an existing entity (Hierarchy@odata.bind).
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • parent

      public EdgePatch.Builder parent(@Nullable ElementPatch parent)
      Sets Parent: The parent of the component. (nested, for a deep insert)
      Parameters:
      parent - the value; null sends an explicit null
      Returns:
      this builder
    • bindParent

      public EdgePatch.Builder bindParent(ODataPath target)
      Binds Parent to an existing entity (Parent@odata.bind).
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • component

      public EdgePatch.Builder component(@Nullable ElementPatch component)
      Sets Component: The component. (nested, for a deep insert)
      Parameters:
      component - the value; null sends an explicit null
      Returns:
      this builder
    • bindComponent

      public EdgePatch.Builder bindComponent(ODataPath target)
      Binds Component to an existing entity (Component@odata.bind).
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • build

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