pub struct Builder { /* private fields */ }
Expand description
A builder for ListPresetsOutput
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more