#[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
.
Returned after a successful DescribeVolumes
operation, describing each volume.
sourcepub fn set_volumes(self, input: Option<Vec<Volume>>) -> Self
pub fn set_volumes(self, input: Option<Vec<Volume>>) -> Self
Returned after a successful DescribeVolumes
operation, describing each volume.
sourcepub fn get_volumes(&self) -> &Option<Vec<Volume>>
pub fn get_volumes(&self) -> &Option<Vec<Volume>>
Returned after a successful DescribeVolumes
operation, describing each volume.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
(Optional) Opaque pagination token returned from a previous operation (String). If present, this token indicates from what point you can continue processing the request, where the previous NextToken
value left off.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
(Optional) Opaque pagination token returned from a previous operation (String). If present, this token indicates from what point you can continue processing the request, where the previous NextToken
value left off.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
(Optional) Opaque pagination token returned from a previous operation (String). If present, this token indicates from what point you can continue processing the request, where the previous NextToken
value left off.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for DescribeVolumesOutputBuilder
impl PartialEq for DescribeVolumesOutputBuilder
source§fn eq(&self, other: &DescribeVolumesOutputBuilder) -> bool
fn eq(&self, other: &DescribeVolumesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.