pub struct Builder { /* private fields */ }Expand description
A builder for ListPresetsOutput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn presets(self, input: Preset) -> Self
pub fn presets(self, input: Preset) -> Self
Appends an item to presets.
To override the contents of this collection use set_presets.
An array of Preset objects.
sourcepub fn set_presets(self, input: Option<Vec<Preset>>) -> Self
pub fn set_presets(self, input: Option<Vec<Preset>>) -> Self
An array of Preset objects.
sourcepub fn next_page_token(self, input: impl Into<String>) -> Self
pub fn next_page_token(self, input: impl Into<String>) -> Self
A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of NextPageToken is null.
sourcepub fn set_next_page_token(self, input: Option<String>) -> Self
pub fn set_next_page_token(self, input: Option<String>) -> Self
A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of NextPageToken is null.
sourcepub fn build(self) -> ListPresetsOutput
pub fn build(self) -> ListPresetsOutput
Consumes the builder and constructs a ListPresetsOutput.