public static interface CustomRequestHandling.Builder extends SdkPojo, CopyableBuilder<CustomRequestHandling.Builder,CustomRequestHandling>
| Modifier and Type | Method and Description |
|---|---|
CustomRequestHandling.Builder |
insertHeaders(Collection<CustomHTTPHeader> insertHeaders)
The HTTP headers to insert into the request.
|
CustomRequestHandling.Builder |
insertHeaders(Consumer<CustomHTTPHeader.Builder>... insertHeaders)
The HTTP headers to insert into the request.
|
CustomRequestHandling.Builder |
insertHeaders(CustomHTTPHeader... insertHeaders)
The HTTP headers to insert into the request.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomRequestHandling.Builder insertHeaders(Collection<CustomHTTPHeader> insertHeaders)
The HTTP headers to insert into the request. Duplicate header names are not allowed.
For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.
insertHeaders - The HTTP headers to insert into the request. Duplicate header names are not allowed.
For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.
CustomRequestHandling.Builder insertHeaders(CustomHTTPHeader... insertHeaders)
The HTTP headers to insert into the request. Duplicate header names are not allowed.
For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.
insertHeaders - The HTTP headers to insert into the request. Duplicate header names are not allowed.
For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.
CustomRequestHandling.Builder insertHeaders(Consumer<CustomHTTPHeader.Builder>... insertHeaders)
The HTTP headers to insert into the request. Duplicate header names are not allowed.
For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.
This is a convenience method that creates an instance of theCustomHTTPHeader.Builder avoiding the need to create one
manually via CustomHTTPHeader.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #insertHeaders(List.
insertHeaders - a consumer that will call methods on
CustomHTTPHeader.Builder#insertHeaders(java.util.Collection) Copyright © 2023. All rights reserved.