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.Boolean |
getBatchMode()
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch . |
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() |
java.lang.Boolean |
isBatchMode()
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch . |
void |
setBatchMode(java.lang.Boolean batchMode)
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch . |
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 |
withBatchMode(java.lang.Boolean batchMode)
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch . |
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.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.
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 java.lang.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.
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 void setBatchMode(java.lang.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 FirehoseAction withBatchMode(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 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.