Class MessageBatchSucceededResult.Builder
-
- All Implemented Interfaces:
public final class MessageBatchSucceededResult.BuilderA builder for MessageBatchSucceededResult.
-
-
Method Summary
Modifier and Type Method Description final MessageBatchSucceededResult.Buildermessage(Message message)final MessageBatchSucceededResult.Buildermessage(JsonField<Message> message)Sets Builder.message to an arbitrary JSON value. final MessageBatchSucceededResult.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final MessageBatchSucceededResult.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final MessageBatchSucceededResult.BuilderputAdditionalProperty(String key, JsonValue value)final MessageBatchSucceededResult.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final MessageBatchSucceededResult.BuilderremoveAdditionalProperty(String key)final MessageBatchSucceededResult.BuilderremoveAllAdditionalProperties(Set<String> keys)final MessageBatchSucceededResultbuild()Returns an immutable instance of MessageBatchSucceededResult. -
-
Method Detail
-
message
final MessageBatchSucceededResult.Builder message(Message message)
-
message
final MessageBatchSucceededResult.Builder message(JsonField<Message> message)
Sets Builder.message to an arbitrary JSON value.
You should usually call Builder.message with a well-typed Message value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final MessageBatchSucceededResult.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("succeeded")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MessageBatchSucceededResult.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageBatchSucceededResult.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageBatchSucceededResult.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageBatchSucceededResult.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageBatchSucceededResult.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageBatchSucceededResult build()
Returns an immutable instance of MessageBatchSucceededResult.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.message()
-
-
-
-