Struct aws_sdk_cloudfront::model::tag::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Tag
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
A string that contains Tag
key.
The string length should be between 1 and 128 characters. Valid characters include a-z
, A-Z
, 0-9
, space, and the special characters _ - . : / = + @
.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
A string that contains Tag
key.
The string length should be between 1 and 128 characters. Valid characters include a-z
, A-Z
, 0-9
, space, and the special characters _ - . : / = + @
.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
A string that contains an optional Tag
value.
The string length should be between 0 and 256 characters. Valid characters include a-z
, A-Z
, 0-9
, space, and the special characters _ - . : / = + @
.