Struct aws_sdk_cloudfront::operation::list_response_headers_policies::builders::ListResponseHeadersPoliciesInputBuilder
source · #[non_exhaustive]pub struct ListResponseHeadersPoliciesInputBuilder { /* private fields */ }Expand description
A builder for ListResponseHeadersPoliciesInput.
Implementations§
source§impl ListResponseHeadersPoliciesInputBuilder
impl ListResponseHeadersPoliciesInputBuilder
sourcepub fn type(self, input: ResponseHeadersPolicyType) -> Self
pub fn type(self, input: ResponseHeadersPolicyType) -> Self
A filter to get only the specified kind of response headers policies. Valid values are:
-
managed– Gets only the managed policies created by Amazon Web Services. -
custom– Gets only the custom policies created in your Amazon Web Services account.
sourcepub fn set_type(self, input: Option<ResponseHeadersPolicyType>) -> Self
pub fn set_type(self, input: Option<ResponseHeadersPolicyType>) -> Self
A filter to get only the specified kind of response headers policies. Valid values are:
-
managed– Gets only the managed policies created by Amazon Web Services. -
custom– Gets only the custom policies created in your Amazon Web Services account.
sourcepub fn get_type(&self) -> &Option<ResponseHeadersPolicyType>
pub fn get_type(&self) -> &Option<ResponseHeadersPolicyType>
A filter to get only the specified kind of response headers policies. Valid values are:
-
managed– Gets only the managed policies created by Amazon Web Services. -
custom– Gets only the custom policies created in your Amazon Web Services account.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
Use this field when paginating results to indicate where to begin in your list of response headers policies. The response includes response headers policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
Use this field when paginating results to indicate where to begin in your list of response headers policies. The response includes response headers policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
Use this field when paginating results to indicate where to begin in your list of response headers policies. The response includes response headers policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
The maximum number of response headers policies that you want to get in the response.
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 that you want to get in the response.
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
The maximum number of response headers policies that you want to get in the response.
sourcepub fn build(self) -> Result<ListResponseHeadersPoliciesInput, BuildError>
pub fn build(self) -> Result<ListResponseHeadersPoliciesInput, BuildError>
Consumes the builder and constructs a ListResponseHeadersPoliciesInput.
source§impl ListResponseHeadersPoliciesInputBuilder
impl ListResponseHeadersPoliciesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListResponseHeadersPoliciesOutput, SdkError<ListResponseHeadersPoliciesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListResponseHeadersPoliciesOutput, SdkError<ListResponseHeadersPoliciesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListResponseHeadersPoliciesInputBuilder
impl Clone for ListResponseHeadersPoliciesInputBuilder
source§fn clone(&self) -> ListResponseHeadersPoliciesInputBuilder
fn clone(&self) -> ListResponseHeadersPoliciesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListResponseHeadersPoliciesInputBuilder
impl Default for ListResponseHeadersPoliciesInputBuilder
source§fn default() -> ListResponseHeadersPoliciesInputBuilder
fn default() -> ListResponseHeadersPoliciesInputBuilder
source§impl PartialEq for ListResponseHeadersPoliciesInputBuilder
impl PartialEq for ListResponseHeadersPoliciesInputBuilder
source§fn eq(&self, other: &ListResponseHeadersPoliciesInputBuilder) -> bool
fn eq(&self, other: &ListResponseHeadersPoliciesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.