Struct aws_sdk_ebs::operation::list_changed_blocks::builders::ListChangedBlocksOutputBuilder
source · #[non_exhaustive]pub struct ListChangedBlocksOutputBuilder { /* private fields */ }Expand description
A builder for ListChangedBlocksOutput.
Implementations§
source§impl ListChangedBlocksOutputBuilder
impl ListChangedBlocksOutputBuilder
sourcepub fn changed_blocks(self, input: ChangedBlock) -> Self
pub fn changed_blocks(self, input: ChangedBlock) -> Self
Appends an item to changed_blocks.
To override the contents of this collection use set_changed_blocks.
An array of objects containing information about the changed blocks.
sourcepub fn set_changed_blocks(self, input: Option<Vec<ChangedBlock>>) -> Self
pub fn set_changed_blocks(self, input: Option<Vec<ChangedBlock>>) -> Self
An array of objects containing information about the changed blocks.
sourcepub fn get_changed_blocks(&self) -> &Option<Vec<ChangedBlock>>
pub fn get_changed_blocks(&self) -> &Option<Vec<ChangedBlock>>
An array of objects containing information about the changed 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) -> ListChangedBlocksOutput
pub fn build(self) -> ListChangedBlocksOutput
Consumes the builder and constructs a ListChangedBlocksOutput.
Trait Implementations§
source§impl Clone for ListChangedBlocksOutputBuilder
impl Clone for ListChangedBlocksOutputBuilder
source§fn clone(&self) -> ListChangedBlocksOutputBuilder
fn clone(&self) -> ListChangedBlocksOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListChangedBlocksOutputBuilder
impl Default for ListChangedBlocksOutputBuilder
source§fn default() -> ListChangedBlocksOutputBuilder
fn default() -> ListChangedBlocksOutputBuilder
source§impl PartialEq<ListChangedBlocksOutputBuilder> for ListChangedBlocksOutputBuilder
impl PartialEq<ListChangedBlocksOutputBuilder> for ListChangedBlocksOutputBuilder
source§fn eq(&self, other: &ListChangedBlocksOutputBuilder) -> bool
fn eq(&self, other: &ListChangedBlocksOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.