@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FirehoseAction extends Object implements Serializable, Cloneable, StructuredPojo
Describes an action that writes data to an Amazon Kinesis Firehose stream.
Constructor and Description |
---|
FirehoseAction() |
Modifier and Type | Method and Description |
---|---|
FirehoseAction |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBatchMode()
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch . |
String |
getDeliveryStreamName()
The delivery stream name.
|
String |
getRoleArn()
The IAM role that grants access to the Amazon Kinesis Firehose stream.
|
String |
getSeparator()
A character separator that will be used to separate records written to the Firehose stream.
|
int |
hashCode() |
Boolean |
isBatchMode()
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch . |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchMode(Boolean batchMode)
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch . |
void |
setDeliveryStreamName(String deliveryStreamName)
The delivery stream name.
|
void |
setRoleArn(String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehose stream.
|
void |
setSeparator(String separator)
A character separator that will be used to separate records written to the Firehose stream.
|
String |
toString()
Returns a string representation of this object.
|
FirehoseAction |
withBatchMode(Boolean batchMode)
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch . |
FirehoseAction |
withDeliveryStreamName(String deliveryStreamName)
The delivery stream name.
|
FirehoseAction |
withRoleArn(String roleArn)
The IAM role that grants access to the Amazon Kinesis Firehose stream.
|
FirehoseAction |
withSeparator(String separator)
A character separator that will be used to separate records written to the Firehose stream.
|
public void setRoleArn(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 String getRoleArn()
The IAM role that grants access to the Amazon Kinesis Firehose stream.
public FirehoseAction withRoleArn(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 void setDeliveryStreamName(String deliveryStreamName)
The delivery stream name.
deliveryStreamName
- The delivery stream name.public String getDeliveryStreamName()
The delivery stream name.
public FirehoseAction withDeliveryStreamName(String deliveryStreamName)
The delivery stream name.
deliveryStreamName
- The delivery stream name.public void setSeparator(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).
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 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).
public FirehoseAction withSeparator(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).
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 void setBatchMode(Boolean batchMode)
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement evaluates to an Array, each Array
element forms one record in the
PutRecordBatch
request. The resulting array can't have more than 500 records.
batchMode
- Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement evaluates to an Array, each
Array element forms one record in the
PutRecordBatch
request. The resulting array can't have more than 500 records.
public Boolean getBatchMode()
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement evaluates to an Array, each Array
element forms one record in the
PutRecordBatch
request. The resulting array can't have more than 500 records.
PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement evaluates to an Array, each
Array element forms one record in the
PutRecordBatch
request. The resulting array can't have more than 500 records.
public FirehoseAction withBatchMode(Boolean batchMode)
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement evaluates to an Array, each Array
element forms one record in the
PutRecordBatch
request. The resulting array can't have more than 500 records.
batchMode
- Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement evaluates to an Array, each
Array element forms one record in the
PutRecordBatch
request. The resulting array can't have more than 500 records.
public Boolean isBatchMode()
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement evaluates to an Array, each Array
element forms one record in the
PutRecordBatch
request. The resulting array can't have more than 500 records.
PutRecordBatch
. The default value is false
.
When batchMode
is true
and the rule's SQL statement evaluates to an Array, each
Array element forms one record in the
PutRecordBatch
request. The resulting array can't have more than 500 records.
public String toString()
toString
in class Object
Object.toString()
public FirehoseAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.