Class KinesisAction

    • Constructor Detail

      • KinesisAction

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

        public int hashCode()
        Overrides:
        hashCode in class Object