#[non_exhaustive]pub struct UpdateSnapshotInputBuilder { /* private fields */ }
Expand description
A builder for UpdateSnapshotInput
.
Implementations§
source§impl UpdateSnapshotInputBuilder
impl UpdateSnapshotInputBuilder
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the snapshot to update.
This field is required.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 that you want to update, in the format fsvolsnap-0123456789abcdef0
.
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 that you want to update, in the format fsvolsnap-0123456789abcdef0
.
sourcepub fn get_snapshot_id(&self) -> &Option<String>
pub fn get_snapshot_id(&self) -> &Option<String>
The ID of the snapshot that you want to update, in the format fsvolsnap-0123456789abcdef0
.
sourcepub fn build(self) -> Result<UpdateSnapshotInput, BuildError>
pub fn build(self) -> Result<UpdateSnapshotInput, BuildError>
Consumes the builder and constructs a UpdateSnapshotInput
.
source§impl UpdateSnapshotInputBuilder
impl UpdateSnapshotInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateSnapshotOutput, SdkError<UpdateSnapshotError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateSnapshotOutput, SdkError<UpdateSnapshotError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSnapshotInputBuilder
impl Clone for UpdateSnapshotInputBuilder
source§fn clone(&self) -> UpdateSnapshotInputBuilder
fn clone(&self) -> UpdateSnapshotInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateSnapshotInputBuilder
impl Debug for UpdateSnapshotInputBuilder
source§impl Default for UpdateSnapshotInputBuilder
impl Default for UpdateSnapshotInputBuilder
source§fn default() -> UpdateSnapshotInputBuilder
fn default() -> UpdateSnapshotInputBuilder
source§impl PartialEq for UpdateSnapshotInputBuilder
impl PartialEq for UpdateSnapshotInputBuilder
source§fn eq(&self, other: &UpdateSnapshotInputBuilder) -> bool
fn eq(&self, other: &UpdateSnapshotInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSnapshotInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSnapshotInputBuilder
impl RefUnwindSafe for UpdateSnapshotInputBuilder
impl Send for UpdateSnapshotInputBuilder
impl Sync for UpdateSnapshotInputBuilder
impl Unpin for UpdateSnapshotInputBuilder
impl UnwindSafe for UpdateSnapshotInputBuilder
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