Interface CustomHTTPHeader.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomHTTPHeader.Builder,
,CustomHTTPHeader> SdkBuilder<CustomHTTPHeader.Builder,
,CustomHTTPHeader> SdkPojo
- Enclosing class:
CustomHTTPHeader
public static interface CustomHTTPHeader.Builder
extends SdkPojo, CopyableBuilder<CustomHTTPHeader.Builder,CustomHTTPHeader>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the custom header.The value of the custom header.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the custom header.
For custom request header insertion, when WAF inserts the header into the request, it prefixes this name
x-amzn-waf-
, to avoid confusion with the headers that are already in the request. For example, for the header namesample
, WAF inserts the headerx-amzn-waf-sample
.- Parameters:
name
- The name of the custom header.For custom request header insertion, when WAF inserts the header into the request, it prefixes this name
x-amzn-waf-
, to avoid confusion with the headers that are already in the request. For example, for the header namesample
, WAF inserts the headerx-amzn-waf-sample
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value of the custom header.
- Parameters:
value
- The value of the custom header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-