Struct aws_sdk_kinesis::input::list_streams_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListStreamsInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of streams to list. The default value is 100. If you specify a value greater than 100, at most 100 results are returned.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of streams to list. The default value is 100. If you specify a value greater than 100, at most 100 results are returned.
sourcepub fn exclusive_start_stream_name(self, input: impl Into<String>) -> Self
pub fn exclusive_start_stream_name(self, input: impl Into<String>) -> Self
The name of the stream to start the list with.
sourcepub fn set_exclusive_start_stream_name(self, input: Option<String>) -> Self
pub fn set_exclusive_start_stream_name(self, input: Option<String>) -> Self
The name of the stream to start the list with.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
sourcepub fn build(self) -> Result<ListStreamsInput, BuildError>
pub fn build(self) -> Result<ListStreamsInput, BuildError>
Consumes the builder and constructs a ListStreamsInput
.