Interface CSVOutput.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CSVOutput.Builder,CSVOutput>
,SdkBuilder<CSVOutput.Builder,CSVOutput>
,SdkPojo
- Enclosing class:
- CSVOutput
public static interface CSVOutput.Builder extends SdkPojo, CopyableBuilder<CSVOutput.Builder,CSVOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CSVOutput.Builder
fieldDelimiter(String fieldDelimiter)
The value used to separate individual fields in a record.CSVOutput.Builder
quoteCharacter(String quoteCharacter)
A single character used for escaping when the field delimiter is part of the value.CSVOutput.Builder
quoteEscapeCharacter(String quoteEscapeCharacter)
The single character used for escaping the quote character inside an already escaped value.CSVOutput.Builder
quoteFields(String quoteFields)
Indicates whether to use quotation marks around output fields.CSVOutput.Builder
quoteFields(QuoteFields quoteFields)
Indicates whether to use quotation marks around output fields.CSVOutput.Builder
recordDelimiter(String recordDelimiter)
A single character used to separate individual records in the output.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
quoteFields
CSVOutput.Builder quoteFields(String 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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuoteFields
,QuoteFields
-
-
quoteFields
CSVOutput.Builder quoteFields(QuoteFields 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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuoteFields
,QuoteFields
-
-
quoteEscapeCharacter
CSVOutput.Builder quoteEscapeCharacter(String quoteEscapeCharacter)
The single character used for escaping the quote character inside an already escaped value.
- Parameters:
quoteEscapeCharacter
- The single character used for escaping the quote character inside an already escaped value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordDelimiter
CSVOutput.Builder recordDelimiter(String recordDelimiter)
A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.
- Parameters:
recordDelimiter
- A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldDelimiter
CSVOutput.Builder fieldDelimiter(String fieldDelimiter)
The value used to separate individual fields in a record. You can specify an arbitrary delimiter.
- Parameters:
fieldDelimiter
- The value used to separate individual fields in a record. You can specify an arbitrary delimiter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quoteCharacter
CSVOutput.Builder quoteCharacter(String 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 "
.- Parameters:
quoteCharacter
- A single character used for escaping when the field delimiter is part of the value. For example, if the value isa, b
, Amazon S3 wraps this field value in quotation marks, as follows:" a , b "
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-