Struct aws_sdk_ebs::types::builders::ChangedBlockBuilder
source · #[non_exhaustive]pub struct ChangedBlockBuilder { /* private fields */ }Expand description
A builder for ChangedBlock.
Implementations§
source§impl ChangedBlockBuilder
impl ChangedBlockBuilder
sourcepub fn block_index(self, input: i32) -> Self
pub fn block_index(self, input: i32) -> Self
The block index.
sourcepub fn set_block_index(self, input: Option<i32>) -> Self
pub fn set_block_index(self, input: Option<i32>) -> Self
The block index.
sourcepub fn get_block_index(&self) -> &Option<i32>
pub fn get_block_index(&self) -> &Option<i32>
The block index.
sourcepub fn first_block_token(self, input: impl Into<String>) -> Self
pub fn first_block_token(self, input: impl Into<String>) -> Self
The block token for the block index of the FirstSnapshotId specified in the ListChangedBlocks operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.
sourcepub fn set_first_block_token(self, input: Option<String>) -> Self
pub fn set_first_block_token(self, input: Option<String>) -> Self
The block token for the block index of the FirstSnapshotId specified in the ListChangedBlocks operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.
sourcepub fn get_first_block_token(&self) -> &Option<String>
pub fn get_first_block_token(&self) -> &Option<String>
The block token for the block index of the FirstSnapshotId specified in the ListChangedBlocks operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.
sourcepub fn second_block_token(self, input: impl Into<String>) -> Self
pub fn second_block_token(self, input: impl Into<String>) -> Self
The block token for the block index of the SecondSnapshotId specified in the ListChangedBlocks operation.
sourcepub fn set_second_block_token(self, input: Option<String>) -> Self
pub fn set_second_block_token(self, input: Option<String>) -> Self
The block token for the block index of the SecondSnapshotId specified in the ListChangedBlocks operation.
sourcepub fn get_second_block_token(&self) -> &Option<String>
pub fn get_second_block_token(&self) -> &Option<String>
The block token for the block index of the SecondSnapshotId specified in the ListChangedBlocks operation.
sourcepub fn build(self) -> ChangedBlock
pub fn build(self) -> ChangedBlock
Consumes the builder and constructs a ChangedBlock.
Trait Implementations§
source§impl Clone for ChangedBlockBuilder
impl Clone for ChangedBlockBuilder
source§fn clone(&self) -> ChangedBlockBuilder
fn clone(&self) -> ChangedBlockBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ChangedBlockBuilder
impl Debug for ChangedBlockBuilder
source§impl Default for ChangedBlockBuilder
impl Default for ChangedBlockBuilder
source§fn default() -> ChangedBlockBuilder
fn default() -> ChangedBlockBuilder
source§impl PartialEq for ChangedBlockBuilder
impl PartialEq for ChangedBlockBuilder
source§fn eq(&self, other: &ChangedBlockBuilder) -> bool
fn eq(&self, other: &ChangedBlockBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ChangedBlockBuilder
Auto Trait Implementations§
impl Freeze for ChangedBlockBuilder
impl RefUnwindSafe for ChangedBlockBuilder
impl Send for ChangedBlockBuilder
impl Sync for ChangedBlockBuilder
impl Unpin for ChangedBlockBuilder
impl UnwindSafe for ChangedBlockBuilder
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