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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomHTTPHeader.Buildername(String name)The name of the custom header.CustomHTTPHeader.Buildervalue(String value)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 Detail
-
name
CustomHTTPHeader.Builder name(String 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
CustomHTTPHeader.Builder value(String 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.
-
-