Struct aws_sdk_ebs::operation::list_snapshot_blocks::builders::ListSnapshotBlocksOutputBuilder
source · #[non_exhaustive]pub struct ListSnapshotBlocksOutputBuilder { /* private fields */ }
Expand description
A builder for ListSnapshotBlocksOutput
.
Implementations§
source§impl ListSnapshotBlocksOutputBuilder
impl ListSnapshotBlocksOutputBuilder
sourcepub fn blocks(self, input: Block) -> Self
pub fn blocks(self, input: Block) -> Self
Appends an item to blocks
.
To override the contents of this collection use set_blocks
.
An array of objects containing information about the blocks.
sourcepub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
pub fn set_blocks(self, input: Option<Vec<Block>>) -> Self
An array of objects containing information about the blocks.
sourcepub fn get_blocks(&self) -> &Option<Vec<Block>>
pub fn get_blocks(&self) -> &Option<Vec<Block>>
An array of objects containing information about the blocks.
sourcepub fn expiry_time(self, input: DateTime) -> Self
pub fn expiry_time(self, input: DateTime) -> Self
The time when the BlockToken
expires.
sourcepub fn set_expiry_time(self, input: Option<DateTime>) -> Self
pub fn set_expiry_time(self, input: Option<DateTime>) -> Self
The time when the BlockToken
expires.
sourcepub fn get_expiry_time(&self) -> &Option<DateTime>
pub fn get_expiry_time(&self) -> &Option<DateTime>
The time when the BlockToken
expires.
sourcepub fn volume_size(self, input: i64) -> Self
pub fn volume_size(self, input: i64) -> Self
The size of the volume in GB.
sourcepub fn set_volume_size(self, input: Option<i64>) -> Self
pub fn set_volume_size(self, input: Option<i64>) -> Self
The size of the volume in GB.
sourcepub fn get_volume_size(&self) -> &Option<i64>
pub fn get_volume_size(&self) -> &Option<i64>
The size of the volume in GB.
sourcepub fn block_size(self, input: i32) -> Self
pub fn block_size(self, input: i32) -> Self
The size of the blocks in the snapshot, in bytes.
sourcepub fn set_block_size(self, input: Option<i32>) -> Self
pub fn set_block_size(self, input: Option<i32>) -> Self
The size of the blocks in the snapshot, in bytes.
sourcepub fn get_block_size(&self) -> &Option<i32>
pub fn get_block_size(&self) -> &Option<i32>
The size of the blocks in the snapshot, in bytes.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results. This value is null when there are no more results 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 use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn build(self) -> ListSnapshotBlocksOutput
pub fn build(self) -> ListSnapshotBlocksOutput
Consumes the builder and constructs a ListSnapshotBlocksOutput
.
Trait Implementations§
source§impl Clone for ListSnapshotBlocksOutputBuilder
impl Clone for ListSnapshotBlocksOutputBuilder
source§fn clone(&self) -> ListSnapshotBlocksOutputBuilder
fn clone(&self) -> ListSnapshotBlocksOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListSnapshotBlocksOutputBuilder
impl Default for ListSnapshotBlocksOutputBuilder
source§fn default() -> ListSnapshotBlocksOutputBuilder
fn default() -> ListSnapshotBlocksOutputBuilder
source§impl PartialEq for ListSnapshotBlocksOutputBuilder
impl PartialEq for ListSnapshotBlocksOutputBuilder
source§fn eq(&self, other: &ListSnapshotBlocksOutputBuilder) -> bool
fn eq(&self, other: &ListSnapshotBlocksOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListSnapshotBlocksOutputBuilder
Auto Trait Implementations§
impl Freeze for ListSnapshotBlocksOutputBuilder
impl RefUnwindSafe for ListSnapshotBlocksOutputBuilder
impl Send for ListSnapshotBlocksOutputBuilder
impl Sync for ListSnapshotBlocksOutputBuilder
impl Unpin for ListSnapshotBlocksOutputBuilder
impl UnwindSafe for ListSnapshotBlocksOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more