pub struct Builder { /* private fields */ }
Expand description
A builder for OriginRequestPolicyList
.
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 origin request 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 origin request 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 origin request 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 origin request policies requested.
sourcepub fn quantity(self, input: i32) -> Self
pub fn quantity(self, input: i32) -> Self
The total number of origin request 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 origin request policies returned in the response.
sourcepub fn items(self, input: OriginRequestPolicySummary) -> Self
pub fn items(self, input: OriginRequestPolicySummary) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
Contains the origin request policies in the list.
sourcepub fn set_items(self, input: Option<Vec<OriginRequestPolicySummary>>) -> Self
pub fn set_items(self, input: Option<Vec<OriginRequestPolicySummary>>) -> Self
Contains the origin request policies in the list.
sourcepub fn build(self) -> OriginRequestPolicyList
pub fn build(self) -> OriginRequestPolicyList
Consumes the builder and constructs a OriginRequestPolicyList
.