public static interface Consumer.Builder extends SdkPojo, CopyableBuilder<Consumer.Builder,Consumer>
Modifier and Type | Method and Description |
---|---|
Consumer.Builder |
consumerARN(String consumerARN)
When you register a consumer, Kinesis Data Streams generates an ARN for it.
|
Consumer.Builder |
consumerCreationTimestamp(Instant consumerCreationTimestamp)
|
Consumer.Builder |
consumerName(String consumerName)
The name of the consumer is something you choose when you register the consumer.
|
Consumer.Builder |
consumerStatus(ConsumerStatus consumerStatus)
A consumer can't read data while in the
CREATING or DELETING states. |
Consumer.Builder |
consumerStatus(String consumerStatus)
A consumer can't read data while in the
CREATING or DELETING states. |
equalsBySdkFields, sdkFields
copy
applyMutation, build
Consumer.Builder consumerName(String consumerName)
The name of the consumer is something you choose when you register the consumer.
consumerName
- The name of the consumer is something you choose when you register the consumer.Consumer.Builder consumerARN(String consumerARN)
When you register a consumer, Kinesis Data Streams generates an ARN for it. You need this ARN to be able to call SubscribeToShard.
If you delete a consumer and then create a new one with the same name, it won't have the same ARN. That's because consumer ARNs contain the creation timestamp. This is important to keep in mind if you have IAM policies that reference consumer ARNs.
consumerARN
- When you register a consumer, Kinesis Data Streams generates an ARN for it. You need this ARN to be
able to call SubscribeToShard.
If you delete a consumer and then create a new one with the same name, it won't have the same ARN. That's because consumer ARNs contain the creation timestamp. This is important to keep in mind if you have IAM policies that reference consumer ARNs.
Consumer.Builder consumerStatus(String consumerStatus)
A consumer can't read data while in the CREATING
or DELETING
states.
consumerStatus
- A consumer can't read data while in the CREATING
or DELETING
states.ConsumerStatus
,
ConsumerStatus
Consumer.Builder consumerStatus(ConsumerStatus consumerStatus)
A consumer can't read data while in the CREATING
or DELETING
states.
consumerStatus
- A consumer can't read data while in the CREATING
or DELETING
states.ConsumerStatus
,
ConsumerStatus
Consumer.Builder consumerCreationTimestamp(Instant consumerCreationTimestamp)
consumerCreationTimestamp
- Copyright © 2022. All rights reserved.