Struct aws_sdk_cloudfront::model::cache_policy_list::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CachePolicyList
.
Implementations
sourceimpl 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 cache 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 cache policies where you left off.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
The maximum number of cache policies requested.
sourcepub fn quantity(self, input: i32) -> Self
pub fn quantity(self, input: i32) -> Self
The total number of cache policies returned in the response.
sourcepub fn set_quantity(self, input: Option<i32>) -> Self
pub fn set_quantity(self, input: Option<i32>) -> Self
The total number of cache policies returned in the response.
sourcepub fn items(self, input: CachePolicySummary) -> Self
pub fn items(self, input: CachePolicySummary) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
Contains the cache policies in the list.
sourcepub fn set_items(self, input: Option<Vec<CachePolicySummary>>) -> Self
pub fn set_items(self, input: Option<Vec<CachePolicySummary>>) -> Self
Contains the cache policies in the list.
sourcepub fn build(self) -> CachePolicyList
pub fn build(self) -> CachePolicyList
Consumes the builder and constructs a CachePolicyList
.