public class FirehoseAction
extends java.lang.Object
implements java.io.Serializable
Describes an action that writes data to an Amazon Kinesis Firehose stream.
Constructor and Description |
---|
FirehoseAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDeliveryStreamName()
The delivery stream name.
|
java.lang.String |
getRoleArn()
The IAM role that grants access to the Amazon Kinesis Firehose stream.
|
java.lang.String |
getSeparator()
A character separator that will be used to separate records written to
the Firehose stream.
|
int |
hashCode() |
void |
setDeliveryStreamName(java.lang.String deliveryStreamName)
The delivery stream name.
|
void |
setRoleArn(java.lang.String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehose stream.
|
void |
setSeparator(java.lang.String separator)
A character separator that will be used to separate records written to
the Firehose stream.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FirehoseAction |
withDeliveryStreamName(java.lang.String deliveryStreamName)
The delivery stream name.
|
FirehoseAction |
withRoleArn(java.lang.String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehose stream.
|
FirehoseAction |
withSeparator(java.lang.String separator)
A character separator that will be used to separate records written to
the Firehose stream.
|
public java.lang.String getRoleArn()
The IAM role that grants access to the Amazon Kinesis Firehose stream.
The IAM role that grants access to the Amazon Kinesis Firehose stream.
public void setRoleArn(java.lang.String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehose stream.
roleArn
- The IAM role that grants access to the Amazon Kinesis Firehose stream.
public FirehoseAction withRoleArn(java.lang.String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehose stream.
Returns a reference to this object so that method calls can be chained together.
roleArn
- The IAM role that grants access to the Amazon Kinesis Firehose stream.
public java.lang.String getDeliveryStreamName()
The delivery stream name.
The delivery stream name.
public void setDeliveryStreamName(java.lang.String deliveryStreamName)
The delivery stream name.
deliveryStreamName
- The delivery stream name.
public FirehoseAction withDeliveryStreamName(java.lang.String deliveryStreamName)
The delivery stream name.
Returns a reference to this object so that method calls can be chained together.
deliveryStreamName
- The delivery stream name.
public java.lang.String getSeparator()
A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
Constraints:
Pattern: ([\n\t])|(\r\n)|(,)
A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
public void setSeparator(java.lang.String separator)
A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
Constraints:
Pattern: ([\n\t])|(\r\n)|(,)
separator
- A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
public FirehoseAction withSeparator(java.lang.String separator)
A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ([\n\t])|(\r\n)|(,)
separator
- A character separator that will be used to separate records written to the Firehose stream. Valid values are: '\n' (newline), '\t' (tab), '\r\n' (Windows newline), ',' (comma).
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.