Class SubsetPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.SubsetPatch.Builder
- Enclosing class:
SubsetPatch
Builds a
SubsetPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionattributes(@Nullable AttributesPatch attributes) SetsAttributes: The attributes of the subset.bindElements(ODataPath... targets) BindsElementsto existing entities (Elements@odata.bind).bindHierarchy(ODataPath target) BindsHierarchyto an existing entity (Hierarchy@odata.bind).bindLocalizedAttributes(ODataPath... targets) BindsLocalizedAttributesto existing entities (LocalizedAttributes@odata.bind).build()The patch, with what's been set so far.elements(@Nullable List<ElementPatch> elements) SetsElements: The elements that are included in the subset.expression(@Nullable String expression) SetsExpression: An MDX expression that defines the subset.hierarchy(@Nullable HierarchyPatch hierarchy) SetsHierarchy: The hierarchies that are included in the subset.localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the subset.SetsName: The name of the subset.uniqueName(@Nullable String uniqueName) SetsUniqueName: The name of the subset, preceded by the parent dimension and separated by a colon, for example, [dimension_name]:[subset_name].
-
Method Details
-
name
SetsName: The name of the subset.- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
uniqueName
SetsUniqueName: The name of the subset, preceded by the parent dimension and separated by a colon, for example, [dimension_name]:[subset_name].- Parameters:
uniqueName- the value;nullsends an explicitnull- Returns:
- this builder
-
expression
SetsExpression: An MDX expression that defines the subset.- Parameters:
expression- the value;nullsends an explicitnull- Returns:
- this builder
-
attributes
SetsAttributes: The attributes of the subset.- Parameters:
attributes- the value;nullsends an explicitnull- Returns:
- this builder
-
hierarchy
SetsHierarchy: The hierarchies that are included in the subset. (nested, for a deep insert)- Parameters:
hierarchy- the value;nullsends an explicitnull- Returns:
- this builder
-
bindHierarchy
BindsHierarchyto an existing entity (Hierarchy@odata.bind).- Parameters:
target- the entity's path- Returns:
- this builder
-
elements
SetsElements: The elements that are included in the subset. (nested, for a deep insert)- Parameters:
elements- the value;nullsends an explicitnull- Returns:
- this builder
-
bindElements
BindsElementsto existing entities (Elements@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
localizedAttributes
public SubsetPatch.Builder localizedAttributes(@Nullable List<LocalizedAttributesPatch> localizedAttributes) SetsLocalizedAttributes: Translated string values for properties of the subset. (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
-