Class CsvHeaders
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.CsvHeaders
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:27.714Z")
@Stability(Stable)
public class CsvHeaders
extends software.amazon.jsii.JsiiObject
Configuration for CSV header options for a CSV Item Reader.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.stepfunctions.*; CsvHeaders csvHeaders = CsvHeaders.use(List.of("headers"));
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
CsvHeaders
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CsvHeaders
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionLocation of headers in CSV file.List of headers ifheaderLocation
isGIVEN
.static CsvHeaders
Configures S3CsvItemReader to use the headers provided in theheaders
parameter.static CsvHeaders
Configures S3CsvItemReader to read headers from the first row of the CSV file.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
CsvHeaders
protected CsvHeaders(software.amazon.jsii.JsiiObjectRef objRef) -
CsvHeaders
protected CsvHeaders(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
use
Configures S3CsvItemReader to use the headers provided in theheaders
parameter.- Parameters:
headers
-- List of headers.
- Returns:
- CsvHeaders
-
useFirstRow
Configures S3CsvItemReader to read headers from the first row of the CSV file.- Returns:
- CsvHeaders
-
getHeaderLocation
Location of headers in CSV file. -
getHeaders
List of headers ifheaderLocation
isGIVEN
.
-