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:
  • Constructor Details

    • KinesisAction

      public KinesisAction()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public KinesisAction clone()
      Overrides:
      clone in class Object