Struct aws_sdk_sts::types::builders::TagBuilder
source · #[non_exhaustive]pub struct TagBuilder { /* private fields */ }
Expand description
A builder for Tag
.
Implementations§
source§impl TagBuilder
impl TagBuilder
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
The key for a session tag.
You can pass up to 50 session tags. The plain text session tag keys can’t exceed 128 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide.
This field is required.sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The key for a session tag.
You can pass up to 50 session tags. The plain text session tag keys can’t exceed 128 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide.
sourcepub fn get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
The key for a session tag.
You can pass up to 50 session tags. The plain text session tag keys can’t exceed 128 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The value for a session tag.
You can pass up to 50 session tags. The plain text session tag values can’t exceed 256 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide.
This field is required.sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The value for a session tag.
You can pass up to 50 session tags. The plain text session tag values can’t exceed 256 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The value for a session tag.
You can pass up to 50 session tags. The plain text session tag values can’t exceed 256 characters. For these and additional limits, see IAM and STS Character Limits in the IAM User Guide.
Trait Implementations§
source§impl Clone for TagBuilder
impl Clone for TagBuilder
source§fn clone(&self) -> TagBuilder
fn clone(&self) -> TagBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TagBuilder
impl Debug for TagBuilder
source§impl Default for TagBuilder
impl Default for TagBuilder
source§fn default() -> TagBuilder
fn default() -> TagBuilder
source§impl PartialEq for TagBuilder
impl PartialEq for TagBuilder
source§fn eq(&self, other: &TagBuilder) -> bool
fn eq(&self, other: &TagBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.