Enum FirehoseRecordSeparator
java.lang.Object
java.lang.Enum<FirehoseRecordSeparator>
software.amazon.awscdk.services.iot.actions.FirehoseRecordSeparator
- All Implemented Interfaces:
Serializable
,Comparable<FirehoseRecordSeparator>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.993Z")
@Stability(Experimental)
public enum FirehoseRecordSeparator
extends Enum<FirehoseRecordSeparator>
(experimental) Record Separator to be used to separate records.
Example:
import software.amazon.awscdk.services.kinesisfirehose.*; import software.amazon.awscdk.services.kinesisfirehose.destinations.*; 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();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription(experimental) Separate by a commma.(experimental) Separate by a new line.(experimental) Separate by a tab.(experimental) Separate by a windows new line. -
Method Summary
Modifier and TypeMethodDescriptionstatic FirehoseRecordSeparator
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.
-
Enum Constant Details
-
NEWLINE
(experimental) Separate by a new line. -
TAB
(experimental) Separate by a tab. -
WINDOWS_NEWLINE
(experimental) Separate by a windows new line. -
COMMA
(experimental) Separate by a commma.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-