Struct aws_sdk_secretsmanager::operation::cancel_rotate_secret::builders::CancelRotateSecretInputBuilder
source · #[non_exhaustive]pub struct CancelRotateSecretInputBuilder { /* private fields */ }
Expand description
A builder for CancelRotateSecretInput
.
Implementations§
source§impl CancelRotateSecretInputBuilder
impl CancelRotateSecretInputBuilder
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.
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.
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.
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<CancelRotateSecretInput, BuildError>
pub fn build(self) -> Result<CancelRotateSecretInput, BuildError>
Consumes the builder and constructs a CancelRotateSecretInput
.
source§impl CancelRotateSecretInputBuilder
impl CancelRotateSecretInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CancelRotateSecretOutput, SdkError<CancelRotateSecretError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CancelRotateSecretOutput, SdkError<CancelRotateSecretError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CancelRotateSecretInputBuilder
impl Clone for CancelRotateSecretInputBuilder
source§fn clone(&self) -> CancelRotateSecretInputBuilder
fn clone(&self) -> CancelRotateSecretInputBuilder
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 Default for CancelRotateSecretInputBuilder
impl Default for CancelRotateSecretInputBuilder
source§fn default() -> CancelRotateSecretInputBuilder
fn default() -> CancelRotateSecretInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CancelRotateSecretInputBuilder
impl PartialEq for CancelRotateSecretInputBuilder
source§fn eq(&self, other: &CancelRotateSecretInputBuilder) -> bool
fn eq(&self, other: &CancelRotateSecretInputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CancelRotateSecretInputBuilder
Auto Trait Implementations§
impl Freeze for CancelRotateSecretInputBuilder
impl RefUnwindSafe for CancelRotateSecretInputBuilder
impl Send for CancelRotateSecretInputBuilder
impl Sync for CancelRotateSecretInputBuilder
impl Unpin for CancelRotateSecretInputBuilder
impl UnwindSafe for CancelRotateSecretInputBuilder
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.