Package com.amazonaws.services.iot.model
Class KinesisAction
- java.lang.Object
-
- com.amazonaws.services.iot.model.KinesisAction
-
- All Implemented Interfaces:
Serializable,Cloneable
public class KinesisAction extends Object implements Serializable, Cloneable
Describes an action to write data to an Amazon Kinesis stream.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KinesisAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KinesisActionclone()booleanequals(Object obj)StringgetPartitionKey()The partition key.StringgetRoleArn()The ARN of the IAM role that grants access to the Amazon Kinesis stream.StringgetStreamName()The name of the Amazon Kinesis stream.inthashCode()voidsetPartitionKey(String partitionKey)The partition key.voidsetRoleArn(String roleArn)The ARN of the IAM role that grants access to the Amazon Kinesis stream.voidsetStreamName(String streamName)The name of the Amazon Kinesis stream.StringtoString()Returns a string representation of this object; useful for testing and debugging.KinesisActionwithPartitionKey(String partitionKey)The partition key.KinesisActionwithRoleArn(String roleArn)The ARN of the IAM role that grants access to the Amazon Kinesis stream.KinesisActionwithStreamName(String streamName)The name of the Amazon Kinesis stream.
-
-
-
Method Detail
-
setRoleArn
public void setRoleArn(String roleArn)
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
- Parameters:
roleArn- The ARN of the IAM role that grants access to the Amazon Kinesis stream.
-
getRoleArn
public String getRoleArn()
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
- Returns:
- The ARN of the IAM role that grants access to the Amazon Kinesis stream.
-
withRoleArn
public KinesisAction withRoleArn(String roleArn)
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
- Parameters:
roleArn- The ARN of the IAM role that grants access to the Amazon Kinesis stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStreamName
public void setStreamName(String streamName)
The name of the Amazon Kinesis stream.
- Parameters:
streamName- The name of the Amazon Kinesis stream.
-
getStreamName
public String getStreamName()
The name of the Amazon Kinesis stream.
- Returns:
- The name of the Amazon Kinesis stream.
-
withStreamName
public KinesisAction withStreamName(String streamName)
The name of the Amazon Kinesis stream.
- Parameters:
streamName- The name of the Amazon Kinesis stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPartitionKey
public void setPartitionKey(String partitionKey)
The partition key.
- Parameters:
partitionKey- The partition key.
-
getPartitionKey
public String getPartitionKey()
The partition key.
- Returns:
- The partition key.
-
withPartitionKey
public KinesisAction withPartitionKey(String partitionKey)
The partition key.
- Parameters:
partitionKey- The partition key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public KinesisAction clone()
-
-