Class AttachmentPatch.Builder
java.lang.Object
io.skipcheck.tm1.client.model.AttachmentPatch.Builder
- Enclosing class:
AttachmentPatch
Builds a
AttachmentPatch; each setter replaces what an earlier call set.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The patch, with what's been set so far.contentType(@Nullable String contentType) SetsContentType: The type of content in the attachment.description(@Nullable String description) SetsDescription: A description of the attachment.SetsName: The name of the attachment.SetsSize: The size of the attachment.
-
Method Details
-
name
SetsName: The name of the attachment.- Parameters:
name- the value;nullsends an explicitnull- Returns:
- this builder
-
description
SetsDescription: A description of the attachment.- Parameters:
description- the value;nullsends an explicitnull- Returns:
- this builder
-
contentType
SetsContentType: The type of content in the attachment.- Parameters:
contentType- the value;nullsends an explicitnull- Returns:
- this builder
-
size
SetsSize: The size of the attachment.- Parameters:
size- the value;nullsends an explicitnull- Returns:
- this builder
-
build
-