pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeStreamConsumerInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn stream_arn(self, input: impl Into<String>) -> Self
pub fn stream_arn(self, input: impl Into<String>) -> Self
The ARN of the Kinesis data stream that the consumer is registered with. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
sourcepub fn set_stream_arn(self, input: Option<String>) -> Self
pub fn set_stream_arn(self, input: Option<String>) -> Self
The ARN of the Kinesis data stream that the consumer is registered with. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
sourcepub fn consumer_name(self, input: impl Into<String>) -> Self
pub fn consumer_name(self, input: impl Into<String>) -> Self
The name that you gave to the consumer.
sourcepub fn set_consumer_name(self, input: Option<String>) -> Self
pub fn set_consumer_name(self, input: Option<String>) -> Self
The name that you gave to the consumer.
sourcepub fn consumer_arn(self, input: impl Into<String>) -> Self
pub fn consumer_arn(self, input: impl Into<String>) -> Self
The ARN returned by Kinesis Data Streams when you registered the consumer.
sourcepub fn set_consumer_arn(self, input: Option<String>) -> Self
pub fn set_consumer_arn(self, input: Option<String>) -> Self
The ARN returned by Kinesis Data Streams when you registered the consumer.
sourcepub fn build(self) -> Result<DescribeStreamConsumerInput, BuildError>
pub fn build(self) -> Result<DescribeStreamConsumerInput, BuildError>
Consumes the builder and constructs a DescribeStreamConsumerInput
.