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