public class KinesisAction
extends java.lang.Object
implements java.io.Serializable
Describes an action to write data to an Amazon Kinesis stream.
| Constructor and Description |
|---|
KinesisAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPartitionKey()
The partition key.
|
java.lang.String |
getRoleArn()
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
|
java.lang.String |
getStreamName()
The name of the Amazon Kinesis stream.
|
int |
hashCode() |
void |
setPartitionKey(java.lang.String partitionKey)
The partition key.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
|
void |
setStreamName(java.lang.String streamName)
The name of the Amazon Kinesis stream.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
KinesisAction |
withPartitionKey(java.lang.String partitionKey)
The partition key.
|
KinesisAction |
withRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
|
KinesisAction |
withStreamName(java.lang.String streamName)
The name of the Amazon Kinesis stream.
|
public java.lang.String getRoleArn()
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
public void setRoleArn(java.lang.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 KinesisAction withRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
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 java.lang.String getStreamName()
The name of the Amazon Kinesis stream.
The name of the Amazon Kinesis stream.
public void setStreamName(java.lang.String streamName)
The name of the Amazon Kinesis stream.
streamName - The name of the Amazon Kinesis stream.
public KinesisAction withStreamName(java.lang.String streamName)
The name of the Amazon Kinesis stream.
Returns a reference to this object so that method calls can be chained together.
streamName - The name of the Amazon Kinesis stream.
public java.lang.String getPartitionKey()
The partition key.
The partition key.
public void setPartitionKey(java.lang.String partitionKey)
The partition key.
partitionKey - The partition key.
public KinesisAction withPartitionKey(java.lang.String partitionKey)
The partition key.
Returns a reference to this object so that method calls can be chained together.
partitionKey - The partition key.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.