pub struct Builder { /* private fields */ }
Expand description
A builder for RegisterStreamConsumerInput
.
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 you want to register the consumer with. For more info, 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 you want to register the consumer with. For more info, 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
For a given Kinesis data stream, each consumer must have a unique name. However, consumer names don't have to be unique across data streams.
sourcepub fn set_consumer_name(self, input: Option<String>) -> Self
pub fn set_consumer_name(self, input: Option<String>) -> Self
For a given Kinesis data stream, each consumer must have a unique name. However, consumer names don't have to be unique across data streams.
sourcepub fn build(self) -> Result<RegisterStreamConsumerInput, BuildError>
pub fn build(self) -> Result<RegisterStreamConsumerInput, BuildError>
Consumes the builder and constructs a RegisterStreamConsumerInput
.