pub struct Builder { /* private fields */ }
Expand description
A builder for ResponseHeadersPolicyCustomHeadersConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_quantity(self, input: Option<i32>) -> Self
pub fn set_quantity(self, input: Option<i32>) -> Self
The number of HTTP response headers in the list.
sourcepub fn items(self, input: ResponseHeadersPolicyCustomHeader) -> Self
pub fn items(self, input: ResponseHeadersPolicyCustomHeader) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The list of HTTP response headers and their values.
sourcepub fn set_items(
self,
input: Option<Vec<ResponseHeadersPolicyCustomHeader>>
) -> Self
pub fn set_items(
self,
input: Option<Vec<ResponseHeadersPolicyCustomHeader>>
) -> Self
The list of HTTP response headers and their values.
sourcepub fn build(self) -> ResponseHeadersPolicyCustomHeadersConfig
pub fn build(self) -> ResponseHeadersPolicyCustomHeadersConfig
Consumes the builder and constructs a ResponseHeadersPolicyCustomHeadersConfig
.