Class CSVOutput
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CSVOutput.Builder,CSVOutput>
Describes how uncompressed comma-separated values (CSV)-formatted results are formatted.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CSVOutput.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe value used to separate individual fields in a record.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringA single character used for escaping when the field delimiter is part of the value.final StringThe single character used for escaping the quote character inside an already escaped value.final QuoteFieldsIndicates whether to use quotation marks around output fields.final StringIndicates whether to use quotation marks around output fields.final StringA single character used to separate individual records in the output.static Class<? extends CSVOutput.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
quoteFields
Indicates whether to use quotation marks around output fields.
-
ALWAYS: Always use quotation marks for output fields. -
ASNEEDED: Use quotation marks for output fields when needed.
If the service returns an enum value that is not available in the current SDK version,
quoteFieldswill returnQuoteFields.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromquoteFieldsAsString().- Returns:
- Indicates whether to use quotation marks around output fields.
-
ALWAYS: Always use quotation marks for output fields. -
ASNEEDED: Use quotation marks for output fields when needed.
-
- See Also:
-
-
quoteFieldsAsString
Indicates whether to use quotation marks around output fields.
-
ALWAYS: Always use quotation marks for output fields. -
ASNEEDED: Use quotation marks for output fields when needed.
If the service returns an enum value that is not available in the current SDK version,
quoteFieldswill returnQuoteFields.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromquoteFieldsAsString().- Returns:
- Indicates whether to use quotation marks around output fields.
-
ALWAYS: Always use quotation marks for output fields. -
ASNEEDED: Use quotation marks for output fields when needed.
-
- See Also:
-
-
quoteEscapeCharacter
The single character used for escaping the quote character inside an already escaped value.
- Returns:
- The single character used for escaping the quote character inside an already escaped value.
-
recordDelimiter
A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.
- Returns:
- A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.
-
fieldDelimiter
The value used to separate individual fields in a record. You can specify an arbitrary delimiter.
- Returns:
- The value used to separate individual fields in a record. You can specify an arbitrary delimiter.
-
quoteCharacter
A single character used for escaping when the field delimiter is part of the value. For example, if the value is
a, b, Amazon S3 wraps this field value in quotation marks, as follows:" a , b ".- Returns:
- A single character used for escaping when the field delimiter is part of the value. For example, if the
value is
a, b, Amazon S3 wraps this field value in quotation marks, as follows:" a , b ".
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CSVOutput.Builder,CSVOutput>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-