Class FirehoseAction
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.FirehoseAction
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<FirehoseAction.Builder,FirehoseAction>
@Generated("software.amazon.awssdk:codegen") public final class FirehoseAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FirehoseAction.Builder,FirehoseAction>
Describes an action that writes data to an Amazon Kinesis Firehose stream.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FirehoseAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
batchMode()
Whether to deliver the Kinesis Data Firehose stream as a batch by usingPutRecordBatch
.static FirehoseAction.Builder
builder()
String
deliveryStreamName()
The delivery stream name.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
roleArn()
The IAM role that grants access to the Amazon Kinesis Firehose stream.List<SdkField<?>>
sdkFields()
String
separator()
A character separator that will be used to separate records written to the Firehose stream.static Class<? extends FirehoseAction.Builder>
serializableBuilderClass()
FirehoseAction.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
roleArn
public final String roleArn()
The IAM role that grants access to the Amazon Kinesis Firehose stream.
- Returns:
- The IAM role that grants access to the Amazon Kinesis Firehose stream.
-
deliveryStreamName
public final String deliveryStreamName()
The delivery stream name.
- Returns:
- The delivery stream name.
-
separator
public final 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 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).
-
batchMode
public final Boolean batchMode()
Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch
. The default value isfalse
.When
batchMode
istrue
and the rule's SQL statement evaluates to an Array, each Array element forms one record in thePutRecordBatch
request. The resulting array can't have more than 500 records.- Returns:
- Whether to deliver the Kinesis Data Firehose stream as a batch by using
PutRecordBatch
. The default value isfalse
.When
batchMode
istrue
and the rule's SQL statement evaluates to an Array, each Array element forms one record in thePutRecordBatch
request. The resulting array can't have more than 500 records.
-
toBuilder
public FirehoseAction.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<FirehoseAction.Builder,FirehoseAction>
-
builder
public static FirehoseAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends FirehoseAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-