Struct aws_sdk_outposts::input::list_sites_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ListSitesInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum page size.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum page size.
sourcepub fn operating_address_country_code_filter(
self,
input: impl Into<String>
) -> Self
pub fn operating_address_country_code_filter(
self,
input: impl Into<String>
) -> Self
Appends an item to operating_address_country_code_filter
.
To override the contents of this collection use set_operating_address_country_code_filter
.
A filter for the country code of the Outpost site.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
sourcepub fn set_operating_address_country_code_filter(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_operating_address_country_code_filter(
self,
input: Option<Vec<String>>
) -> Self
A filter for the country code of the Outpost site.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
sourcepub fn operating_address_state_or_region_filter(
self,
input: impl Into<String>
) -> Self
pub fn operating_address_state_or_region_filter(
self,
input: impl Into<String>
) -> Self
Appends an item to operating_address_state_or_region_filter
.
To override the contents of this collection use set_operating_address_state_or_region_filter
.
A filter for the state/region of the Outpost site.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
sourcepub fn set_operating_address_state_or_region_filter(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_operating_address_state_or_region_filter(
self,
input: Option<Vec<String>>
) -> Self
A filter for the state/region of the Outpost site.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
sourcepub fn operating_address_city_filter(self, input: impl Into<String>) -> Self
pub fn operating_address_city_filter(self, input: impl Into<String>) -> Self
Appends an item to operating_address_city_filter
.
To override the contents of this collection use set_operating_address_city_filter
.
A filter for the city of the Outpost site.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
sourcepub fn set_operating_address_city_filter(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_operating_address_city_filter(
self,
input: Option<Vec<String>>
) -> Self
A filter for the city of the Outpost site.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR
, and the request returns all results that match any of the specified values.
sourcepub fn build(self) -> Result<ListSitesInput, BuildError>
pub fn build(self) -> Result<ListSitesInput, BuildError>
Consumes the builder and constructs a ListSitesInput
.