Package com.amazonaws.services.iot.model
Class KinesisAction
java.lang.Object
com.amazonaws.services.iot.model.KinesisAction
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an action to write data to an Amazon Kinesis stream.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The partition key.The ARN of the IAM role that grants access to the Amazon Kinesis stream.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.toString()
Returns a string representation of this object; useful for testing and debugging.withPartitionKey
(String partitionKey) The partition key.withRoleArn
(String roleArn) The ARN of the IAM role that grants access to the Amazon Kinesis stream.withStreamName
(String streamName) The name of the Amazon Kinesis stream.
-
Constructor Details
-
KinesisAction
public KinesisAction()
-
-
Method Details
-
setRoleArn
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
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
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
The name of the Amazon Kinesis stream.
- Parameters:
streamName
- The name of the Amazon Kinesis stream.
-
getStreamName
The name of the Amazon Kinesis stream.
- Returns:
- The name of the Amazon Kinesis stream.
-
withStreamName
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
The partition key.
- Parameters:
partitionKey
- The partition key.
-
getPartitionKey
The partition key.
- Returns:
- The partition key.
-
withPartitionKey
The partition key.
- Parameters:
partitionKey
- The partition key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-