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