Struct aws_sdk_ebs::types::builders::BlockBuilder
source · #[non_exhaustive]pub struct BlockBuilder { /* private fields */ }Expand description
A builder for Block.
Implementations§
source§impl BlockBuilder
impl BlockBuilder
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 block_token(self, input: impl Into<String>) -> Self
pub fn block_token(self, input: impl Into<String>) -> Self
The block token for the block index.
sourcepub fn set_block_token(self, input: Option<String>) -> Self
pub fn set_block_token(self, input: Option<String>) -> Self
The block token for the block index.
sourcepub fn get_block_token(&self) -> &Option<String>
pub fn get_block_token(&self) -> &Option<String>
The block token for the block index.
Trait Implementations§
source§impl Clone for BlockBuilder
impl Clone for BlockBuilder
source§fn clone(&self) -> BlockBuilder
fn clone(&self) -> BlockBuilder
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 BlockBuilder
impl Debug for BlockBuilder
source§impl Default for BlockBuilder
impl Default for BlockBuilder
source§fn default() -> BlockBuilder
fn default() -> BlockBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BlockBuilder
impl PartialEq for BlockBuilder
source§fn eq(&self, other: &BlockBuilder) -> bool
fn eq(&self, other: &BlockBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BlockBuilder
Auto Trait Implementations§
impl Freeze for BlockBuilder
impl RefUnwindSafe for BlockBuilder
impl Send for BlockBuilder
impl Sync for BlockBuilder
impl Unpin for BlockBuilder
impl UnwindSafe for BlockBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.