@Stability(value=Stable) public static final class AddHeaderProps.Builder extends Object implements software.amazon.jsii.Builder<AddHeaderProps>
AddHeaderProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AddHeaderProps |
build()
Builds the configured instance.
|
AddHeaderProps.Builder |
name(String name)
Sets the value of
AddHeaderProps.getName() |
AddHeaderProps.Builder |
value(String value)
Sets the value of
AddHeaderProps.getValue() |
@Stability(value=Stable) public AddHeaderProps.Builder name(String name)
AddHeaderProps.getName()name - The name of the header to add. This parameter is required.
Must be between 1 and 50 characters,
inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters
and dashes only.this@Stability(value=Stable) public AddHeaderProps.Builder value(String value)
AddHeaderProps.getValue()value - The value of the header to add. This parameter is required.
Must be less than 2048 characters,
and must not contain newline characters ("\r" or "\n").this@Stability(value=Stable) public AddHeaderProps build()
build in interface software.amazon.jsii.Builder<AddHeaderProps>AddHeaderPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.