@Stability(value=Experimental) public static final class CustomResponseHeader.Builder extends Object implements software.amazon.jsii.Builder<CustomResponseHeader>
CustomResponseHeader| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CustomResponseHeader |
build()
Builds the configured instance.
|
CustomResponseHeader.Builder |
headers(Map<String,String> headers)
Sets the value of
CustomResponseHeader.getHeaders() |
CustomResponseHeader.Builder |
pattern(String pattern)
Sets the value of
CustomResponseHeader.getPattern() |
@Stability(value=Experimental) public CustomResponseHeader.Builder headers(Map<String,String> headers)
CustomResponseHeader.getHeaders()headers - The map of custom headers to be applied. This parameter is required.this@Stability(value=Experimental) public CustomResponseHeader.Builder pattern(String pattern)
CustomResponseHeader.getPattern()pattern - These custom headers will be applied to all URL file paths that match this pattern. This parameter is required.this@Stability(value=Experimental) public CustomResponseHeader build()
build in interface software.amazon.jsii.Builder<CustomResponseHeader>CustomResponseHeaderNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.