Struct aws_sdk_secretsmanager::operation::restore_secret::builders::RestoreSecretInputBuilder
source · #[non_exhaustive]pub struct RestoreSecretInputBuilder { /* private fields */ }
Expand description
A builder for RestoreSecretInput
.
Implementations§
source§impl RestoreSecretInputBuilder
impl RestoreSecretInputBuilder
sourcepub fn secret_id(self, input: impl Into<String>) -> Self
pub fn secret_id(self, input: impl Into<String>) -> Self
The ARN or name of the secret to restore.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
This field is required.sourcepub fn set_secret_id(self, input: Option<String>) -> Self
pub fn set_secret_id(self, input: Option<String>) -> Self
The ARN or name of the secret to restore.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
sourcepub fn get_secret_id(&self) -> &Option<String>
pub fn get_secret_id(&self) -> &Option<String>
The ARN or name of the secret to restore.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
sourcepub fn build(self) -> Result<RestoreSecretInput, BuildError>
pub fn build(self) -> Result<RestoreSecretInput, BuildError>
Consumes the builder and constructs a RestoreSecretInput
.
source§impl RestoreSecretInputBuilder
impl RestoreSecretInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RestoreSecretOutput, SdkError<RestoreSecretError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RestoreSecretOutput, SdkError<RestoreSecretError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RestoreSecretInputBuilder
impl Clone for RestoreSecretInputBuilder
source§fn clone(&self) -> RestoreSecretInputBuilder
fn clone(&self) -> RestoreSecretInputBuilder
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 RestoreSecretInputBuilder
impl Debug for RestoreSecretInputBuilder
source§impl Default for RestoreSecretInputBuilder
impl Default for RestoreSecretInputBuilder
source§fn default() -> RestoreSecretInputBuilder
fn default() -> RestoreSecretInputBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for RestoreSecretInputBuilder
Auto Trait Implementations§
impl Freeze for RestoreSecretInputBuilder
impl RefUnwindSafe for RestoreSecretInputBuilder
impl Send for RestoreSecretInputBuilder
impl Sync for RestoreSecretInputBuilder
impl Unpin for RestoreSecretInputBuilder
impl UnwindSafe for RestoreSecretInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Creates a shared type from an unshared type.