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();
 
  • Enum Constant Details

    • NEWLINE

      @Stability(Experimental) public static final FirehoseRecordSeparator NEWLINE
      (experimental) Separate by a new line.
    • TAB

      @Stability(Experimental) public static final FirehoseRecordSeparator TAB
      (experimental) Separate by a tab.
    • WINDOWS_NEWLINE

      @Stability(Experimental) public static final FirehoseRecordSeparator WINDOWS_NEWLINE
      (experimental) Separate by a windows new line.
    • COMMA

      @Stability(Experimental) public static final FirehoseRecordSeparator COMMA
      (experimental) Separate by a commma.
  • Method Details

    • values

      public static FirehoseRecordSeparator[] 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

      public static FirehoseRecordSeparator valueOf(String name)
      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 name
      NullPointerException - if the argument is null