Class CsvOptions
- java.lang.Object
-
- software.amazon.awssdk.services.databrew.model.CsvOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CsvOptions.Builder,CsvOptions>
@Generated("software.amazon.awssdk:codegen") public final class CsvOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CsvOptions.Builder,CsvOptions>
Represents a set of options that define how DataBrew will read a comma-separated value (CSV) file when creating a dataset from that file.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCsvOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CsvOptions.Builderbuilder()Stringdelimiter()A single character that specifies the delimiter being used in the CSV file.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanheaderRow()A variable that specifies whether the first row in the file is parsed as the header.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CsvOptions.Builder>serializableBuilderClass()CsvOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
delimiter
public final String delimiter()
A single character that specifies the delimiter being used in the CSV file.
- Returns:
- A single character that specifies the delimiter being used in the CSV file.
-
headerRow
public final Boolean headerRow()
A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
- Returns:
- A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.
-
toBuilder
public CsvOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CsvOptions.Builder,CsvOptions>
-
builder
public static CsvOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends CsvOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-