#[non_exhaustive]pub struct StartSnapshotOutputBuilder { /* private fields */ }
Expand description
A builder for StartSnapshotOutput
.
Implementations§
source§impl StartSnapshotOutputBuilder
impl StartSnapshotOutputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the snapshot.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the snapshot.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the snapshot.
sourcepub fn snapshot_id(self, input: impl Into<String>) -> Self
pub fn snapshot_id(self, input: impl Into<String>) -> Self
The ID of the snapshot.
sourcepub fn set_snapshot_id(self, input: Option<String>) -> Self
pub fn set_snapshot_id(self, input: Option<String>) -> Self
The ID of the snapshot.
sourcepub fn get_snapshot_id(&self) -> &Option<String>
pub fn get_snapshot_id(&self) -> &Option<String>
The ID of the snapshot.
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the snapshot owner.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the snapshot owner.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The Amazon Web Services account ID of the snapshot owner.
sourcepub fn set_status(self, input: Option<Status>) -> Self
pub fn set_status(self, input: Option<Status>) -> Self
The status of the snapshot.
sourcepub fn get_status(&self) -> &Option<Status>
pub fn get_status(&self) -> &Option<Status>
The status of the snapshot.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The timestamp when the snapshot was created.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The timestamp when the snapshot was created.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The timestamp when the snapshot was created.
sourcepub fn volume_size(self, input: i64) -> Self
pub fn volume_size(self, input: i64) -> Self
The size of the volume, in GiB.
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 GiB.
sourcepub fn get_volume_size(&self) -> &Option<i64>
pub fn get_volume_size(&self) -> &Option<i64>
The size of the volume, in GiB.
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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
sourcepub fn parent_snapshot_id(self, input: impl Into<String>) -> Self
pub fn parent_snapshot_id(self, input: impl Into<String>) -> Self
The ID of the parent snapshot.
sourcepub fn set_parent_snapshot_id(self, input: Option<String>) -> Self
pub fn set_parent_snapshot_id(self, input: Option<String>) -> Self
The ID of the parent snapshot.
sourcepub fn get_parent_snapshot_id(&self) -> &Option<String>
pub fn get_parent_snapshot_id(&self) -> &Option<String>
The ID of the parent snapshot.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
sourcepub fn set_sse_type(self, input: Option<SseType>) -> Self
pub fn set_sse_type(self, input: Option<SseType>) -> Self
Reserved for future use.
sourcepub fn get_sse_type(&self) -> &Option<SseType>
pub fn get_sse_type(&self) -> &Option<SseType>
Reserved for future use.
sourcepub fn build(self) -> StartSnapshotOutput
pub fn build(self) -> StartSnapshotOutput
Consumes the builder and constructs a StartSnapshotOutput
.
Trait Implementations§
source§impl Clone for StartSnapshotOutputBuilder
impl Clone for StartSnapshotOutputBuilder
source§fn clone(&self) -> StartSnapshotOutputBuilder
fn clone(&self) -> StartSnapshotOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartSnapshotOutputBuilder
impl Debug for StartSnapshotOutputBuilder
source§impl Default for StartSnapshotOutputBuilder
impl Default for StartSnapshotOutputBuilder
source§fn default() -> StartSnapshotOutputBuilder
fn default() -> StartSnapshotOutputBuilder
source§impl PartialEq for StartSnapshotOutputBuilder
impl PartialEq for StartSnapshotOutputBuilder
source§fn eq(&self, other: &StartSnapshotOutputBuilder) -> bool
fn eq(&self, other: &StartSnapshotOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartSnapshotOutputBuilder
Auto Trait Implementations§
impl Freeze for StartSnapshotOutputBuilder
impl RefUnwindSafe for StartSnapshotOutputBuilder
impl Send for StartSnapshotOutputBuilder
impl Sync for StartSnapshotOutputBuilder
impl Unpin for StartSnapshotOutputBuilder
impl UnwindSafe for StartSnapshotOutputBuilder
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