Class FolderPatch.Builder

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

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

    • id

      @Deprecated(since="11.5.0") public FolderPatch.Builder id(@Nullable String id)
      Deprecated.
      Deprecated in TM1 schema 11.5.0.
      Sets ID: The ID of the entry.
      Overrides:
      id in class EntryPatch.Builder
      Parameters:
      id - the value; null sends an explicit null
      Returns:
      this builder
    • name

      public FolderPatch.Builder name(@Nullable String name)
      Sets Name: The name of the entry.
      Overrides:
      name in class EntryPatch.Builder
      Parameters:
      name - the value; null sends an explicit null
      Returns:
      this builder
    • attributes

      public FolderPatch.Builder attributes(@Nullable AttributesPatch attributes)
      Sets Attributes: The attributes of the entry.
      Overrides:
      attributes in class EntryPatch.Builder
      Parameters:
      attributes - the value; null sends an explicit null
      Returns:
      this builder
    • containedBy

      public FolderPatch.Builder containedBy(@Nullable FolderPatch containedBy)
      Sets ContainedBy: The folder that contains the entries. (nested, for a deep insert)
      Overrides:
      containedBy in class EntryPatch.Builder
      Parameters:
      containedBy - the value; null sends an explicit null
      Returns:
      this builder
    • bindContainedBy

      public FolderPatch.Builder bindContainedBy(ODataPath target)
      Binds ContainedBy to an existing entity (ContainedBy@odata.bind).
      Overrides:
      bindContainedBy in class EntryPatch.Builder
      Parameters:
      target - the entity's path
      Returns:
      this builder
    • localizedAttributes

      public FolderPatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes)
      Sets LocalizedAttributes: Translated string values for properties of the entry. (nested, for a deep insert)
      Overrides:
      localizedAttributes in class EntryPatch.Builder
      Parameters:
      localizedAttributes - the value; null sends an explicit null
      Returns:
      this builder
    • bindLocalizedAttributes

      public FolderPatch.Builder bindLocalizedAttributes(ODataPath... targets)
      Binds LocalizedAttributes to existing entities (LocalizedAttributes@odata.bind).
      Overrides:
      bindLocalizedAttributes in class EntryPatch.Builder
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • contents

      public FolderPatch.Builder contents(@Nullable List<? extends EntryPatch> contents)
      Sets Contents: A collection of entries that are in the folder. (nested, for a deep insert)
      Parameters:
      contents - the value; null sends an explicit null
      Returns:
      this builder
    • bindContents

      public FolderPatch.Builder bindContents(ODataPath... targets)
      Binds Contents to existing entities (Contents@odata.bind).
      Parameters:
      targets - the entities' paths, such as Dimensions('Region')
      Returns:
      this builder
    • privateContents

      public FolderPatch.Builder privateContents(@Nullable List<? extends EntryPatch> privateContents)
      Sets PrivateContents: A collection of private entries that are in the folder. (nested, for a deep insert)
      Parameters:
      privateContents - the value; null sends an explicit null
      Returns:
      this builder
    • bindPrivateContents

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

      public FolderPatch build()
      The patch, with what's been set so far.
      Overrides:
      build in class EntryPatch.Builder
      Returns:
      the patch