#[non_exhaustive]pub struct TagResourceInputBuilder { /* private fields */ }
Expand description
A builder for TagResourceInput
.
Implementations§
source§impl TagResourceInputBuilder
impl TagResourceInputBuilder
sourcepub fn secret_id(self, input: impl Into<String>) -> Self
pub fn secret_id(self, input: impl Into<String>) -> Self
The identifier for the secret to attach tags to. You can specify either the Amazon Resource Name (ARN) or the friendly 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 identifier for the secret to attach tags to. You can specify either the Amazon Resource Name (ARN) or the friendly 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 identifier for the secret to attach tags to. You can specify either the Amazon Resource Name (ARN) or the friendly 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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags to attach to the secret as a JSON text string argument. Each element in the list consists of a Key
and a Value
.
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.
The tags to attach to the secret as a JSON text string argument. Each element in the list consists of a Key
and a Value
.
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.
The tags to attach to the secret as a JSON text string argument. Each element in the list consists of a Key
and a Value
.
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<TagResourceInput, BuildError>
pub fn build(self) -> Result<TagResourceInput, BuildError>
Consumes the builder and constructs a TagResourceInput
.
source§impl TagResourceInputBuilder
impl TagResourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<TagResourceOutput, SdkError<TagResourceError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<TagResourceOutput, SdkError<TagResourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for TagResourceInputBuilder
impl Clone for TagResourceInputBuilder
source§fn clone(&self) -> TagResourceInputBuilder
fn clone(&self) -> TagResourceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TagResourceInputBuilder
impl Debug for TagResourceInputBuilder
source§impl Default for TagResourceInputBuilder
impl Default for TagResourceInputBuilder
source§fn default() -> TagResourceInputBuilder
fn default() -> TagResourceInputBuilder
source§impl PartialEq for TagResourceInputBuilder
impl PartialEq for TagResourceInputBuilder
impl StructuralPartialEq for TagResourceInputBuilder
Auto Trait Implementations§
impl Freeze for TagResourceInputBuilder
impl RefUnwindSafe for TagResourceInputBuilder
impl Send for TagResourceInputBuilder
impl Sync for TagResourceInputBuilder
impl Unpin for TagResourceInputBuilder
impl UnwindSafe for TagResourceInputBuilder
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
)