Class MessageUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class MessageUpdateParams.Body.Builder
A builder for Body.
-
-
Method Summary
Modifier and Type Method Description final MessageUpdateParams.Body.Builder
metadata(Metadata metadata)
Set of 16 key-value pairs that can be attached to an object. final MessageUpdateParams.Body.Builder
metadata(Optional<Metadata> metadata)
Set of 16 key-value pairs that can be attached to an object. final MessageUpdateParams.Body.Builder
metadata(JsonField<Metadata> metadata)
Set of 16 key-value pairs that can be attached to an object. final MessageUpdateParams.Body.Builder
additionalProperties(Map<String, JsonValue> additionalProperties)
final MessageUpdateParams.Body.Builder
putAdditionalProperty(String key, JsonValue value)
final MessageUpdateParams.Body.Builder
putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
final MessageUpdateParams.Body.Builder
removeAdditionalProperty(String key)
final MessageUpdateParams.Body.Builder
removeAllAdditionalProperties(Set<String> keys)
final MessageUpdateParams.Body
build()
-
-
Method Detail
-
metadata
final MessageUpdateParams.Body.Builder metadata(Metadata metadata)
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
metadata
final MessageUpdateParams.Body.Builder metadata(Optional<Metadata> metadata)
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
metadata
final MessageUpdateParams.Body.Builder metadata(JsonField<Metadata> metadata)
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
additionalProperties
final MessageUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageUpdateParams.Body build()
-
-
-
-