Struct aws_sdk_kinesis::input::add_tags_to_stream_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AddTagsToStreamInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The name of the stream.
sourcepub fn set_stream_name(self, input: Option<String>) -> Self
pub fn set_stream_name(self, input: Option<String>) -> Self
The name of the stream.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A set of up to 10 key-value pairs to use to create the tags.
A set of up to 10 key-value pairs to use to create the tags.
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The ARN of the stream.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The ARN of the stream.
sourcepub fn build(self) -> Result<AddTagsToStreamInput, BuildError>
pub fn build(self) -> Result<AddTagsToStreamInput, BuildError>
Consumes the builder and constructs a AddTagsToStreamInput
.