#[non_exhaustive]pub struct DescribeVolumesOutputBuilder { /* private fields */ }Expand description
A builder for DescribeVolumesOutput.
Implementations§
source§impl DescribeVolumesOutputBuilder
impl DescribeVolumesOutputBuilder
sourcepub fn volumes(self, input: Volume) -> Self
pub fn volumes(self, input: Volume) -> Self
Appends an item to volumes.
To override the contents of this collection use set_volumes.
Information about the volumes.
sourcepub fn set_volumes(self, input: Option<Vec<Volume>>) -> Self
pub fn set_volumes(self, input: Option<Vec<Volume>>) -> Self
Information about the volumes.
sourcepub fn get_volumes(&self) -> &Option<Vec<Volume>>
pub fn get_volumes(&self) -> &Option<Vec<Volume>>
Information about the volumes.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to include in another request to get the next page of items. This value is null when there are no more items to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to include in another request to get the next page of items. This value is null when there are no more items to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to include in another request to get the next page of items. This value is null when there are no more items to return.
sourcepub fn build(self) -> DescribeVolumesOutput
pub fn build(self) -> DescribeVolumesOutput
Consumes the builder and constructs a DescribeVolumesOutput.
Trait Implementations§
source§impl Clone for DescribeVolumesOutputBuilder
impl Clone for DescribeVolumesOutputBuilder
source§fn clone(&self) -> DescribeVolumesOutputBuilder
fn clone(&self) -> DescribeVolumesOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DescribeVolumesOutputBuilder
impl Debug for DescribeVolumesOutputBuilder
source§impl Default for DescribeVolumesOutputBuilder
impl Default for DescribeVolumesOutputBuilder
source§fn default() -> DescribeVolumesOutputBuilder
fn default() -> DescribeVolumesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DescribeVolumesOutputBuilder> for DescribeVolumesOutputBuilder
impl PartialEq<DescribeVolumesOutputBuilder> for DescribeVolumesOutputBuilder
source§fn eq(&self, other: &DescribeVolumesOutputBuilder) -> bool
fn eq(&self, other: &DescribeVolumesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DescribeVolumesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeVolumesOutputBuilder
impl Send for DescribeVolumesOutputBuilder
impl Sync for DescribeVolumesOutputBuilder
impl Unpin for DescribeVolumesOutputBuilder
impl UnwindSafe for DescribeVolumesOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more