Class AnnotationPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.AnnotationPatch.Builder
- Enclosing class:
AnnotationPatch
Builds a
AnnotationPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionapplicationContext(@Nullable List<ApplicationContextFacetValuePatch> applicationContext) SetsApplicationContext: An interface to the collection of configuration information for the annotation.attachments(@Nullable List<AttachmentPatch> attachments) SetsAttachments: Attached documents that provide details and background.bindApplicationContext(ODataPath... targets) BindsApplicationContextto existing entities (ApplicationContext@odata.bind).bindAttachments(ODataPath... targets) BindsAttachmentsto existing entities (Attachments@odata.bind).bindDimensionalContext(ODataPath... targets) BindsDimensionalContextto existing entities (DimensionalContext@odata.bind).build()The patch, with what's been set so far.created(@Nullable OffsetDateTime created) SetsCreated: The date that the annotation was created.SetsCreator: The creator of the annotation.dimensionalContext(@Nullable List<? extends MemberPatch> dimensionalContext) SetsDimensionalContext: An interface to the collection of dimensions for the annotation.SetsID: The ID of the annotation.lastUpdated(@Nullable OffsetDateTime lastUpdated) SetsLastUpdated: The date and time value of the last update of this annotation, with a time zone offset.lastUpdatedBy(@Nullable String lastUpdatedBy) SetsLastUpdatedBy: The ID of the element that updated the annotation.Sets a property$metadatadoesn't declare, which this open type can have, such as an attribute's value.SetsText: The text of the annotation.
-
Method Details
-
id
SetsID: The ID of the annotation.- Parameters:
id- the value;nullsends an explicitnull- Returns:
- this builder
-
text
SetsText: The text of the annotation.- Parameters:
text- the value;nullsends an explicitnull- Returns:
- this builder
-
creator
SetsCreator: The creator of the annotation.- Parameters:
creator- the value;nullsends an explicitnull- Returns:
- this builder
-
created
SetsCreated: The date that the annotation was created.- Parameters:
created- the value;nullsends an explicitnull- Returns:
- this builder
-
lastUpdatedBy
SetsLastUpdatedBy: The ID of the element that updated the annotation.- Parameters:
lastUpdatedBy- the value;nullsends an explicitnull- Returns:
- this builder
-
lastUpdated
SetsLastUpdated: The date and time value of the last update of this annotation, with a time zone offset.- Parameters:
lastUpdated- the value;nullsends an explicitnull- Returns:
- this builder
-
applicationContext
public AnnotationPatch.Builder applicationContext(@Nullable List<ApplicationContextFacetValuePatch> applicationContext) SetsApplicationContext: An interface to the collection of configuration information for the annotation. (nested, for a deep insert)- Parameters:
applicationContext- the value;nullsends an explicitnull- Returns:
- this builder
-
bindApplicationContext
BindsApplicationContextto existing entities (ApplicationContext@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
dimensionalContext
public AnnotationPatch.Builder dimensionalContext(@Nullable List<? extends MemberPatch> dimensionalContext) SetsDimensionalContext: An interface to the collection of dimensions for the annotation. (nested, for a deep insert)- Parameters:
dimensionalContext- the value;nullsends an explicitnull- Returns:
- this builder
-
bindDimensionalContext
BindsDimensionalContextto existing entities (DimensionalContext@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
attachments
SetsAttachments: Attached documents that provide details and background. (nested, for a deep insert)- Parameters:
attachments- the value;nullsends an explicitnull- Returns:
- this builder
-
bindAttachments
BindsAttachmentsto existing entities (Attachments@odata.bind).- Parameters:
targets- the entities' paths, such asDimensions('Region')- Returns:
- this builder
-
property
Sets a property$metadatadoesn't declare, which this open type can have, such as an attribute's value.- Parameters:
name- the property's name, as TM1 writes itvalue- the value;nullsends an explicitnull- Returns:
- this builder
-
build
-