Struct aws_sdk_sagemakergeospatial::operation::search_raster_data_collection::builders::SearchRasterDataCollectionOutputBuilder
source · #[non_exhaustive]pub struct SearchRasterDataCollectionOutputBuilder { /* private fields */ }
Expand description
A builder for SearchRasterDataCollectionOutput
.
Implementations§
source§impl SearchRasterDataCollectionOutputBuilder
impl SearchRasterDataCollectionOutputBuilder
sourcepub fn approximate_result_count(self, input: i32) -> Self
pub fn approximate_result_count(self, input: i32) -> Self
Approximate number of results in the response.
This field is required.sourcepub fn set_approximate_result_count(self, input: Option<i32>) -> Self
pub fn set_approximate_result_count(self, input: Option<i32>) -> Self
Approximate number of results in the response.
sourcepub fn get_approximate_result_count(&self) -> &Option<i32>
pub fn get_approximate_result_count(&self) -> &Option<i32>
Approximate number of results in the response.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the previous response was truncated, you receive this token. Use it in your next request to receive the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the previous response was truncated, you receive this token. Use it in your next request to receive the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the previous response was truncated, you receive this token. Use it in your next request to receive the next set of results.
sourcepub fn items(self, input: ItemSource) -> Self
pub fn items(self, input: ItemSource) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
List of items matching the Raster DataCollectionQuery.
sourcepub fn set_items(self, input: Option<Vec<ItemSource>>) -> Self
pub fn set_items(self, input: Option<Vec<ItemSource>>) -> Self
List of items matching the Raster DataCollectionQuery.
sourcepub fn get_items(&self) -> &Option<Vec<ItemSource>>
pub fn get_items(&self) -> &Option<Vec<ItemSource>>
List of items matching the Raster DataCollectionQuery.
sourcepub fn build(self) -> Result<SearchRasterDataCollectionOutput, BuildError>
pub fn build(self) -> Result<SearchRasterDataCollectionOutput, BuildError>
Consumes the builder and constructs a SearchRasterDataCollectionOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SearchRasterDataCollectionOutputBuilder
impl Clone for SearchRasterDataCollectionOutputBuilder
source§fn clone(&self) -> SearchRasterDataCollectionOutputBuilder
fn clone(&self) -> SearchRasterDataCollectionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SearchRasterDataCollectionOutputBuilder
impl Default for SearchRasterDataCollectionOutputBuilder
source§fn default() -> SearchRasterDataCollectionOutputBuilder
fn default() -> SearchRasterDataCollectionOutputBuilder
source§impl PartialEq for SearchRasterDataCollectionOutputBuilder
impl PartialEq for SearchRasterDataCollectionOutputBuilder
source§fn eq(&self, other: &SearchRasterDataCollectionOutputBuilder) -> bool
fn eq(&self, other: &SearchRasterDataCollectionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.