Struct aws_sdk_kinesis::input::list_tags_for_stream_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListTagsForStreamInput
.
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.
sourcepub fn exclusive_start_tag_key(self, input: impl Into<String>) -> Self
pub fn exclusive_start_tag_key(self, input: impl Into<String>) -> Self
The key to use as the starting point for the list of tags. If this parameter is set, ListTagsForStream
gets all tags that occur after ExclusiveStartTagKey
.
sourcepub fn set_exclusive_start_tag_key(self, input: Option<String>) -> Self
pub fn set_exclusive_start_tag_key(self, input: Option<String>) -> Self
The key to use as the starting point for the list of tags. If this parameter is set, ListTagsForStream
gets all tags that occur after ExclusiveStartTagKey
.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The number of tags to return. If this number is less than the total number of tags associated with the stream, HasMoreTags
is set to true
. To list additional tags, set ExclusiveStartTagKey
to the last key in the response.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The number of tags to return. If this number is less than the total number of tags associated with the stream, HasMoreTags
is set to true
. To list additional tags, set ExclusiveStartTagKey
to the last key in the response.
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<ListTagsForStreamInput, BuildError>
pub fn build(self) -> Result<ListTagsForStreamInput, BuildError>
Consumes the builder and constructs a ListTagsForStreamInput
.