Interface HttpRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HttpRequest.Builder,,HttpRequest> SdkBuilder<HttpRequest.Builder,,HttpRequest> SdkPojo
- Enclosing class:
HttpRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe request body content to send with HTTP requests to the ad decision server.compressRequest(String compressRequest) The compression method to apply to requests sent to the ad decision server.compressRequest(CompressionMethod compressRequest) The compression method to apply to requests sent to the ad decision server.Custom HTTP headers to include in requests to the ad decision server.The HTTP method to use when making requests to the ad decision server.The HTTP method to use when making requests to the ad decision server.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
method
The HTTP method to use when making requests to the ad decision server. Supported values are
GETandPOST.- Parameters:
method- The HTTP method to use when making requests to the ad decision server. Supported values areGETandPOST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
method
The HTTP method to use when making requests to the ad decision server. Supported values are
GETandPOST.- Parameters:
method- The HTTP method to use when making requests to the ad decision server. Supported values areGETandPOST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
body
The request body content to send with HTTP requests to the ad decision server. This value is only eligible for
POSTrequests.- Parameters:
body- The request body content to send with HTTP requests to the ad decision server. This value is only eligible forPOSTrequests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headers
Custom HTTP headers to include in requests to the ad decision server. Specify headers as key-value pairs. This value is only eligible for
POSTrequests.- Parameters:
headers- Custom HTTP headers to include in requests to the ad decision server. Specify headers as key-value pairs. This value is only eligible forPOSTrequests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compressRequest
The compression method to apply to requests sent to the ad decision server. Supported values are
NONEandGZIP. This value is only eligible forPOSTrequests.- Parameters:
compressRequest- The compression method to apply to requests sent to the ad decision server. Supported values areNONEandGZIP. This value is only eligible forPOSTrequests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compressRequest
The compression method to apply to requests sent to the ad decision server. Supported values are
NONEandGZIP. This value is only eligible forPOSTrequests.- Parameters:
compressRequest- The compression method to apply to requests sent to the ad decision server. Supported values areNONEandGZIP. This value is only eligible forPOSTrequests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-