@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConsumerDescription extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the details of a registered consumer. This type of object is returned by DescribeStreamConsumer.
Constructor and Description |
---|
ConsumerDescription() |
Modifier and Type | Method and Description |
---|---|
ConsumerDescription |
clone() |
boolean |
equals(Object obj) |
String |
getConsumerARN()
When you register a consumer, Kinesis Data Streams generates an ARN for it.
|
Date |
getConsumerCreationTimestamp()
|
String |
getConsumerName()
The name of the consumer is something you choose when you register the consumer.
|
String |
getConsumerStatus()
A consumer can't read data while in the
CREATING or DELETING states. |
String |
getStreamARN()
The ARN of the stream with which you registered the consumer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConsumerARN(String consumerARN)
When you register a consumer, Kinesis Data Streams generates an ARN for it.
|
void |
setConsumerCreationTimestamp(Date consumerCreationTimestamp)
|
void |
setConsumerName(String consumerName)
The name of the consumer is something you choose when you register the consumer.
|
void |
setConsumerStatus(String consumerStatus)
A consumer can't read data while in the
CREATING or DELETING states. |
void |
setStreamARN(String streamARN)
The ARN of the stream with which you registered the consumer.
|
String |
toString()
Returns a string representation of this object.
|
ConsumerDescription |
withConsumerARN(String consumerARN)
When you register a consumer, Kinesis Data Streams generates an ARN for it.
|
ConsumerDescription |
withConsumerCreationTimestamp(Date consumerCreationTimestamp)
|
ConsumerDescription |
withConsumerName(String consumerName)
The name of the consumer is something you choose when you register the consumer.
|
ConsumerDescription |
withConsumerStatus(ConsumerStatus consumerStatus)
A consumer can't read data while in the
CREATING or DELETING states. |
ConsumerDescription |
withConsumerStatus(String consumerStatus)
A consumer can't read data while in the
CREATING or DELETING states. |
ConsumerDescription |
withStreamARN(String streamARN)
The ARN of the stream with which you registered the consumer.
|
public void setConsumerName(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.public String getConsumerName()
The name of the consumer is something you choose when you register the consumer.
public ConsumerDescription withConsumerName(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.public void setConsumerARN(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.
public String getConsumerARN()
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.
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.
public ConsumerDescription withConsumerARN(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.
public void setConsumerStatus(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
public String getConsumerStatus()
A consumer can't read data while in the CREATING
or DELETING
states.
CREATING
or DELETING
states.ConsumerStatus
public ConsumerDescription withConsumerStatus(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
public ConsumerDescription withConsumerStatus(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
public void setConsumerCreationTimestamp(Date consumerCreationTimestamp)
consumerCreationTimestamp
- public Date getConsumerCreationTimestamp()
public ConsumerDescription withConsumerCreationTimestamp(Date consumerCreationTimestamp)
consumerCreationTimestamp
- public void setStreamARN(String streamARN)
The ARN of the stream with which you registered the consumer.
streamARN
- The ARN of the stream with which you registered the consumer.public String getStreamARN()
The ARN of the stream with which you registered the consumer.
public ConsumerDescription withStreamARN(String streamARN)
The ARN of the stream with which you registered the consumer.
streamARN
- The ARN of the stream with which you registered the consumer.public String toString()
toString
in class Object
Object.toString()
public ConsumerDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.