Struct aws_sdk_secretsmanager::operation::untag_resource::builders::UntagResourceInputBuilder
source · #[non_exhaustive]pub struct UntagResourceInputBuilder { /* private fields */ }
Expand description
A builder for UntagResourceInput
.
Implementations§
source§impl UntagResourceInputBuilder
impl UntagResourceInputBuilder
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 tag_keys(self, input: impl Into<String>) -> Self
pub fn tag_keys(self, input: impl Into<String>) -> Self
Appends an item to tag_keys
.
To override the contents of this collection use set_tag_keys
.
A list of tag key names to remove from the secret. You don't specify the value. Both the key and its associated value are removed.
This parameter requires a JSON text string argument.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
sourcepub fn set_tag_keys(self, input: Option<Vec<String>>) -> Self
pub fn set_tag_keys(self, input: Option<Vec<String>>) -> Self
A list of tag key names to remove from the secret. You don't specify the value. Both the key and its associated value are removed.
This parameter requires a JSON text string argument.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
sourcepub fn get_tag_keys(&self) -> &Option<Vec<String>>
pub fn get_tag_keys(&self) -> &Option<Vec<String>>
A list of tag key names to remove from the secret. You don't specify the value. Both the key and its associated value are removed.
This parameter requires a JSON text string argument.
For storing multiple values, we recommend that you use a JSON text string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI in the Amazon Web Services CLI User Guide.
sourcepub fn build(self) -> Result<UntagResourceInput, BuildError>
pub fn build(self) -> Result<UntagResourceInput, BuildError>
Consumes the builder and constructs a UntagResourceInput
.
source§impl UntagResourceInputBuilder
impl UntagResourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UntagResourceOutput, SdkError<UntagResourceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UntagResourceOutput, SdkError<UntagResourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UntagResourceInputBuilder
impl Clone for UntagResourceInputBuilder
source§fn clone(&self) -> UntagResourceInputBuilder
fn clone(&self) -> UntagResourceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UntagResourceInputBuilder
impl Debug for UntagResourceInputBuilder
source§impl Default for UntagResourceInputBuilder
impl Default for UntagResourceInputBuilder
source§fn default() -> UntagResourceInputBuilder
fn default() -> UntagResourceInputBuilder
impl StructuralPartialEq for UntagResourceInputBuilder
Auto Trait Implementations§
impl Freeze for UntagResourceInputBuilder
impl RefUnwindSafe for UntagResourceInputBuilder
impl Send for UntagResourceInputBuilder
impl Sync for UntagResourceInputBuilder
impl Unpin for UntagResourceInputBuilder
impl UnwindSafe for UntagResourceInputBuilder
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> 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)
clone_to_uninit
)