@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:10.358Z") @Stability(value=Experimental) public enum FirehoseStreamRecordSeparator extends Enum<FirehoseStreamRecordSeparator>
Example:
// Example automatically generated from non-compiling source. May contain errors.
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.core.*;
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(
FirehoseStreamAction.Builder.create(stream)
.batchMode(true)
.recordSeparator(FirehoseStreamRecordSeparator.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 FirehoseStreamRecordSeparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FirehoseStreamRecordSeparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final FirehoseStreamRecordSeparator NEWLINE
@Stability(value=Experimental) public static final FirehoseStreamRecordSeparator TAB
@Stability(value=Experimental) public static final FirehoseStreamRecordSeparator WINDOWS_NEWLINE
@Stability(value=Experimental) public static final FirehoseStreamRecordSeparator COMMA
public static FirehoseStreamRecordSeparator[] values()
for (FirehoseStreamRecordSeparator c : FirehoseStreamRecordSeparator.values()) System.out.println(c);
public static FirehoseStreamRecordSeparator 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 © 2022. All rights reserved.