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