#[non_exhaustive]pub struct TagResourceInputBuilder { /* private fields */ }
Expand description
A builder for TagResourceInput
.
Implementations§
source§impl TagResourceInputBuilder
impl TagResourceInputBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon FSx resource that you want to tag.
This field is required.sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Amazon FSx resource that you want to tag.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Amazon FSx resource that you want to tag.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of tags for the resource. If a tag with a given key already exists, the value is replaced by the one specified in this parameter.
A list of tags for the resource. If a tag with a given key already exists, the value is replaced by the one specified in this parameter.
A list of tags for the resource. If a tag with a given key already exists, the value is replaced by the one specified in this parameter.
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
source§fn eq(&self, other: &TagResourceInputBuilder) -> bool
fn eq(&self, other: &TagResourceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.