Class MessageDeliveryLog.Response.Builder
-
- All Implemented Interfaces:
public final class MessageDeliveryLog.Response.BuilderA builder for Response.
-
-
Method Summary
-
-
Method Detail
-
body
final MessageDeliveryLog.Response.Builder body(MessageDeliveryLog.Response.Body body)
The body content that was received with the response.
-
body
final MessageDeliveryLog.Response.Builder body(JsonField<MessageDeliveryLog.Response.Body> body)
Sets Builder.body to an arbitrary JSON value.
You should usually call Builder.body with a well-typed Body value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
body
final MessageDeliveryLog.Response.Builder body(String string)
Alias for calling body with
Body.ofString(string).
-
body
final MessageDeliveryLog.Response.Builder body(MessageDeliveryLog.Response.Body.UnionMember1 unionMember1)
Alias for calling body with
Body.ofUnionMember1(unionMember1).
-
headers
final MessageDeliveryLog.Response.Builder headers(MessageDeliveryLog.Response.Headers headers)
The headers that were received with the response.
-
headers
final MessageDeliveryLog.Response.Builder headers(Optional<MessageDeliveryLog.Response.Headers> headers)
Alias for calling Builder.headers with
headers.orElse(null).
-
headers
final MessageDeliveryLog.Response.Builder headers(JsonField<MessageDeliveryLog.Response.Headers> headers)
Sets Builder.headers to an arbitrary JSON value.
You should usually call Builder.headers with a well-typed Headers value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final MessageDeliveryLog.Response.Builder status(Long status)
The HTTP status code of the response.
-
status
final MessageDeliveryLog.Response.Builder status(JsonField<Long> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MessageDeliveryLog.Response.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MessageDeliveryLog.Response.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MessageDeliveryLog.Response.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MessageDeliveryLog.Response.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MessageDeliveryLog.Response.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MessageDeliveryLog.Response build()
Returns an immutable instance of Response.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-