public static class SetHeaderPolicyItem.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SetHeaderPolicyItem |
build() |
SetHeaderPolicyItem.Builder |
copy(SetHeaderPolicyItem model) |
SetHeaderPolicyItem.Builder |
ifExists(SetHeaderPolicyItem.IfExists ifExists)
If a header with the same name already exists in the request, OVERWRITE will overwrite
the value, APPEND will append to the existing value, or SKIP will keep the existing
value.
|
SetHeaderPolicyItem.Builder |
name(String name)
The case-insensitive name of the header.
|
SetHeaderPolicyItem.Builder |
values(List<String> values)
A list of new values.
|
public SetHeaderPolicyItem.Builder name(String name)
The case-insensitive name of the header. This name must be unique across transformation policies.
name
- the value to setpublic SetHeaderPolicyItem.Builder values(List<String> values)
A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters.
values
- the value to setpublic SetHeaderPolicyItem.Builder ifExists(SetHeaderPolicyItem.IfExists ifExists)
If a header with the same name already exists in the request, OVERWRITE will overwrite the value, APPEND will append to the existing value, or SKIP will keep the existing value.
ifExists
- the value to setpublic SetHeaderPolicyItem build()
public SetHeaderPolicyItem.Builder copy(SetHeaderPolicyItem model)
Copyright © 2016–2024. All rights reserved.