Consumer class
An object that represents the details of the consumer you registered. This type of object is returned by RegisterStreamConsumer.
Constructors
- Consumer({required String consumerARN, required DateTime consumerCreationTimestamp, required String consumerName, required ConsumerStatus consumerStatus})
-
Consumer.fromJson(Map<
String, dynamic> json) -
factory
Properties
- consumerARN → String
-
When you register a consumer, Kinesis Data Streams generates an ARN for it.
You need this ARN to be able to call SubscribeToShard.
final
- consumerCreationTimestamp → DateTime
-
final
- consumerName → String
-
The name of the consumer is something you choose when you register the
consumer.
final
- consumerStatus → ConsumerStatus
-
A consumer can't read data while in the
CREATING
orDELETING
states.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited