Struct aws_sdk_secretsmanager::operation::describe_secret::builders::DescribeSecretInputBuilder
source · #[non_exhaustive]pub struct DescribeSecretInputBuilder { /* private fields */ }
Expand description
A builder for DescribeSecretInput
.
Implementations§
source§impl DescribeSecretInputBuilder
impl DescribeSecretInputBuilder
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<DescribeSecretInput, BuildError>
pub fn build(self) -> Result<DescribeSecretInput, BuildError>
Consumes the builder and constructs a DescribeSecretInput
.
source§impl DescribeSecretInputBuilder
impl DescribeSecretInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeSecretOutput, SdkError<DescribeSecretError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeSecretOutput, SdkError<DescribeSecretError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeSecretInputBuilder
impl Clone for DescribeSecretInputBuilder
source§fn clone(&self) -> DescribeSecretInputBuilder
fn clone(&self) -> DescribeSecretInputBuilder
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 DescribeSecretInputBuilder
impl Debug for DescribeSecretInputBuilder
source§impl Default for DescribeSecretInputBuilder
impl Default for DescribeSecretInputBuilder
source§fn default() -> DescribeSecretInputBuilder
fn default() -> DescribeSecretInputBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for DescribeSecretInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeSecretInputBuilder
impl RefUnwindSafe for DescribeSecretInputBuilder
impl Send for DescribeSecretInputBuilder
impl Sync for DescribeSecretInputBuilder
impl Unpin for DescribeSecretInputBuilder
impl UnwindSafe for DescribeSecretInputBuilder
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.