public class KinesisAction extends Object implements Serializable, Cloneable
Describes an action to write data to an Amazon Kinesis stream.
Constructor and Description |
---|
KinesisAction() |
Modifier and Type | Method and Description |
---|---|
KinesisAction |
clone() |
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 void setRoleArn(String roleArn)
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
roleArn
- The ARN of the IAM role that grants access to the Amazon Kinesis
stream.public String getRoleArn()
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
public KinesisAction withRoleArn(String roleArn)
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
roleArn
- The ARN of the IAM role that grants access to the Amazon Kinesis
stream.public void setStreamName(String streamName)
The name of the Amazon Kinesis stream.
streamName
- The name of the Amazon Kinesis stream.public String getStreamName()
The name of the Amazon Kinesis stream.
public KinesisAction withStreamName(String streamName)
The name of the Amazon Kinesis stream.
streamName
- The name of the Amazon Kinesis stream.public void setPartitionKey(String partitionKey)
The partition key.
partitionKey
- The partition key.public String getPartitionKey()
The partition key.
public KinesisAction withPartitionKey(String partitionKey)
The partition key.
partitionKey
- The partition key.public String toString()
toString
in class Object
Object.toString()
public KinesisAction clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.