Interface OutputSerialization.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OutputSerialization.Builder,,OutputSerialization> SdkBuilder<OutputSerialization.Builder,,OutputSerialization> SdkPojo
- Enclosing class:
OutputSerialization
public static interface OutputSerialization.Builder
extends SdkPojo, CopyableBuilder<OutputSerialization.Builder,OutputSerialization>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OutputSerialization.Buildercsv(Consumer<CSVOutput.Builder> csv) Describes the serialization of CSV-encoded Select results.Describes the serialization of CSV-encoded Select results.default OutputSerialization.Builderjson(Consumer<JSONOutput.Builder> json) Specifies JSON as request's output serialization format.json(JSONOutput json) Specifies JSON as request's output serialization format.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
csv
Describes the serialization of CSV-encoded Select results.
- Parameters:
csv- Describes the serialization of CSV-encoded Select results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
csv
Describes the serialization of CSV-encoded Select results.
This is a convenience method that creates an instance of theCSVOutput.Builderavoiding the need to create one manually viaCSVOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocsv(CSVOutput).- Parameters:
csv- a consumer that will call methods onCSVOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
json
Specifies JSON as request's output serialization format.
- Parameters:
json- Specifies JSON as request's output serialization format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
json
Specifies JSON as request's output serialization format.
This is a convenience method that creates an instance of theJSONOutput.Builderavoiding the need to create one manually viaJSONOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojson(JSONOutput).- Parameters:
json- a consumer that will call methods onJSONOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-