Class DimensionPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.DimensionPatch.Builder
- Enclosing class:
DimensionPatch
Builds a
DimensionPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionallLeavesHierarchyName(@Nullable String allLeavesHierarchyName) SetsAllLeavesHierarchyName: The name of the all leaves hierarchy in a dimension with alternate hierarchies.attributes(@Nullable AttributesPatch attributes) SetsAttributes: A property of the dimension.bindDefaultHierarchy(ODataPath target) BindsDefaultHierarchyto an existing entity (DefaultHierarchy@odata.bind).bindHierarchies(ODataPath... targets) BindsHierarchiesto existing entities (Hierarchies@odata.bind).bindHierarchyAttributes(ODataPath... targets) BindsHierarchyAttributesto existing entities (HierarchyAttributes@odata.bind).bindLocalizedAttributes(ODataPath... targets) BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).build()The patch, with what's been set so far.defaultHierarchy(@Nullable HierarchyPatch defaultHierarchy) SetsDefaultHierarchy: The default hierarchy of the dimension.hierarchies(@Nullable List<HierarchyPatch> hierarchies) SetsHierarchies: More specific groupings within a dimension.hierarchyAttributes(@Nullable List<AttributeDefinitionPatch> hierarchyAttributes) SetsHierarchyAttributes: Attributes of a hierarchy.localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the dimensions.SetsName: The name of the dimension.uniqueName(@Nullable String uniqueName) SetsUniqueName: The caption for the dimension.
-
Method Details
-
name
SetsName: The name of the dimension.- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
uniqueName
SetsUniqueName: The caption for the dimension.- Parameters:
uniqueName- the value;nullsends an explicitnull- Returns:
- this builder
-
allLeavesHierarchyName
@Since("11.0.0") public DimensionPatch.Builder allLeavesHierarchyName(@Nullable String allLeavesHierarchyName) SetsAllLeavesHierarchyName: The name of the all leaves hierarchy in a dimension with alternate hierarchies.- Parameters:
allLeavesHierarchyName- the value;nullsends an explicitnull- Returns:
- this builder
-
attributes
SetsAttributes: A property of the dimension.- Parameters:
attributes- the value;nullsends an explicitnull- Returns:
- this builder
-
hierarchies
SetsHierarchies: More specific groupings within a dimension. (nested, for a deep insert)- Parameters:
hierarchies- the value;nullsends an explicitnull- Returns:
- this builder
-
bindHierarchies
BindsHierarchiesto existing entities (Hierarchies@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
defaultHierarchy
@Since("10.2.2.5") public DimensionPatch.Builder defaultHierarchy(@Nullable HierarchyPatch defaultHierarchy) SetsDefaultHierarchy: The default hierarchy of the dimension. (nested, for a deep insert)- Parameters:
defaultHierarchy- the value;nullsends an explicitnull- Returns:
- this builder
-
bindDefaultHierarchy
BindsDefaultHierarchyto an existing entity (DefaultHierarchy@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
hierarchyAttributes
public DimensionPatch.Builder hierarchyAttributes(@Nullable List<AttributeDefinitionPatch> hierarchyAttributes) SetsHierarchyAttributes: Attributes of a hierarchy. (nested, for a deep insert)- Parameters:
hierarchyAttributes- the value;nullsends an explicitnull- Returns:
- this builder
-
bindHierarchyAttributes
BindsHierarchyAttributesto existing entities (HierarchyAttributes@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
localizedAttributes
public DimensionPatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the dimensions. (nested, for a deep insert)- Parameters:
localizedAttributes- the value;nullsends an explicitnull- Returns:
- this builder
-
bindLocalizedAttributes
BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
build
-