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 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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public KinesisAction clone()
-
-