| Modifier and Type | Method and Description |
|---|---|
AddHeader |
build() |
static AddHeader.Builder |
create() |
AddHeader.Builder |
name(String name)
The name of the header to add.
|
AddHeader.Builder |
value(String value)
The value of the header to add.
|
@Stability(value=Stable) public static AddHeader.Builder create()
AddHeader.Builder.@Stability(value=Stable) public AddHeader.Builder name(String name)
Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
name - The name of the header to add. This parameter is required.this@Stability(value=Stable) public AddHeader.Builder value(String value)
Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").
value - The value of the header to add. This parameter is required.thisCopyright © 2022. All rights reserved.