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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OutputSerialization.Builder
csv(Consumer<CSVOutput.Builder> csv)
Describes the serialization of CSV-encoded Select results.OutputSerialization.Builder
csv(CSVOutput csv)
Describes the serialization of CSV-encoded Select results.default OutputSerialization.Builder
json(Consumer<JSONOutput.Builder> json)
Specifies JSON as request's output serialization format.OutputSerialization.Builder
json(JSONOutput json)
Specifies JSON as request's output serialization format.-
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
-
csv
OutputSerialization.Builder csv(CSVOutput 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
default OutputSerialization.Builder csv(Consumer<CSVOutput.Builder> csv)
Describes the serialization of CSV-encoded Select results.
This is a convenience method that creates an instance of theCSVOutput.Builder
avoiding the need to create one manually viaCSVOutput.builder()
.When the
Consumer
completes,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:
csv(CSVOutput)
-
json
OutputSerialization.Builder json(JSONOutput 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
default OutputSerialization.Builder json(Consumer<JSONOutput.Builder> json)
Specifies JSON as request's output serialization format.
This is a convenience method that creates an instance of theJSONOutput.Builder
avoiding the need to create one manually viaJSONOutput.builder()
.When the
Consumer
completes,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:
json(JSONOutput)
-
-