@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KinesisAction extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller) |
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.
|
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.