public class KinesisAction extends Object implements Serializable
Describes an action to write data to an Amazon Kinesis stream.
| Constructor and Description |
|---|
KinesisAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getPartitionKey()
The partition key.
|
String |
getRoleArn()
The ARN of the IAM role that grants access to the Amazon Kinesis
stream.
|
String |
getStreamName()
The name of the Amazon Kinesis stream.
|
int |
hashCode() |
void |
setPartitionKey(String partitionKey)
The partition key.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that grants access to the Amazon Kinesis
stream.
|
void |
setStreamName(String streamName)
The name of the Amazon Kinesis stream.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
KinesisAction |
withPartitionKey(String partitionKey)
The partition key.
|
KinesisAction |
withRoleArn(String roleArn)
The ARN of the IAM role that grants access to the Amazon Kinesis
stream.
|
KinesisAction |
withStreamName(String streamName)
The name of the Amazon Kinesis stream.
|
public String getRoleArn()
public void setRoleArn(String roleArn)
roleArn - The ARN of the IAM role that grants access to the Amazon Kinesis
stream.public KinesisAction withRoleArn(String roleArn)
Returns a reference to this object so that method calls can be chained together.
roleArn - The ARN of the IAM role that grants access to the Amazon Kinesis
stream.public String getStreamName()
public void setStreamName(String streamName)
streamName - The name of the Amazon Kinesis stream.public KinesisAction withStreamName(String streamName)
Returns a reference to this object so that method calls can be chained together.
streamName - The name of the Amazon Kinesis stream.public String getPartitionKey()
public void setPartitionKey(String partitionKey)
partitionKey - The partition key.public KinesisAction withPartitionKey(String partitionKey)
Returns a reference to this object so that method calls can be chained together.
partitionKey - The partition key.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.