pub struct Builder { /* private fields */ }
Expand description
A builder for ResponseHeadersPolicyList
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn next_marker(self, input: impl Into<String>) -> Self
pub fn next_marker(self, input: impl Into<String>) -> Self
If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker
field of a subsequent request to continue listing response headers policies where you left off.
sourcepub fn set_next_marker(self, input: Option<String>) -> Self
pub fn set_next_marker(self, input: Option<String>) -> Self
If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker
field of a subsequent request to continue listing response headers policies where you left off.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
The maximum number of response headers policies requested.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
The maximum number of response headers policies requested.
sourcepub fn set_quantity(self, input: Option<i32>) -> Self
pub fn set_quantity(self, input: Option<i32>) -> Self
The number of response headers policies returned.
sourcepub fn items(self, input: ResponseHeadersPolicySummary) -> Self
pub fn items(self, input: ResponseHeadersPolicySummary) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
The response headers policies in the list.
sourcepub fn set_items(self, input: Option<Vec<ResponseHeadersPolicySummary>>) -> Self
pub fn set_items(self, input: Option<Vec<ResponseHeadersPolicySummary>>) -> Self
The response headers policies in the list.
sourcepub fn build(self) -> ResponseHeadersPolicyList
pub fn build(self) -> ResponseHeadersPolicyList
Consumes the builder and constructs a ResponseHeadersPolicyList
.