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.119.0 (build 1634eac)",
date="2025-11-13T16:10:14.923Z")
@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
ConstructorsModifierConstructorDescriptionprotectedCsvHeaders(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCsvHeaders(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionLocation of headers in CSV file.List of headers ifheaderLocationisGIVEN.static CsvHeadersConfigures S3CsvItemReader to use the headers provided in theheadersparameter.static CsvHeadersConfigures 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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 theheadersparameter.- 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 ifheaderLocationisGIVEN.
-