@Generated(value="jsii-pacmak/1.78.1 (build 878761e)", date="2023-04-17T22:38:13.259Z") @Stability(value=Experimental) public enum FirehoseRecordSeparator extends Enum<FirehoseRecordSeparator>
Example:
import software.amazon.awscdk.services.kinesisfirehose.alpha.*;
import software.amazon.awscdk.services.kinesisfirehose.destinations.alpha.*;
Bucket bucket = new Bucket(this, "MyBucket");
DeliveryStream stream = DeliveryStream.Builder.create(this, "MyStream")
.destinations(List.of(new S3Bucket(bucket)))
.build();
TopicRule topicRule = TopicRule.Builder.create(this, "TopicRule")
.sql(IotSql.fromStringAsVer20160323("SELECT * FROM 'device/+/data'"))
.actions(List.of(
FirehosePutRecordAction.Builder.create(stream)
.batchMode(true)
.recordSeparator(FirehoseRecordSeparator.NEWLINE)
.build()))
.build();
| Enum Constant and Description |
|---|
COMMA
(experimental) Separate by a commma.
|
NEWLINE
(experimental) Separate by a new line.
|
TAB
(experimental) Separate by a tab.
|
WINDOWS_NEWLINE
(experimental) Separate by a windows new line.
|
| Modifier and Type | Method and Description |
|---|---|
static FirehoseRecordSeparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FirehoseRecordSeparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final FirehoseRecordSeparator NEWLINE
@Stability(value=Experimental) public static final FirehoseRecordSeparator TAB
@Stability(value=Experimental) public static final FirehoseRecordSeparator WINDOWS_NEWLINE
@Stability(value=Experimental) public static final FirehoseRecordSeparator COMMA
public static FirehoseRecordSeparator[] values()
for (FirehoseRecordSeparator c : FirehoseRecordSeparator.values()) System.out.println(c);
public static FirehoseRecordSeparator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.