public static interface OutputFormatConfiguration.Builder extends SdkPojo, CopyableBuilder<OutputFormatConfiguration.Builder,OutputFormatConfiguration>
Modifier and Type | Method and Description |
---|---|
default OutputFormatConfiguration.Builder |
serializer(Consumer<Serializer.Builder> serializer)
Specifies which serializer to use.
|
OutputFormatConfiguration.Builder |
serializer(Serializer serializer)
Specifies which serializer to use.
|
copy
applyMutation, build
OutputFormatConfiguration.Builder serializer(Serializer serializer)
Specifies which serializer to use. You can choose either the ORC SerDe or the Parquet SerDe. If both are non-null, the server rejects the request.
serializer
- Specifies which serializer to use. You can choose either the ORC SerDe or the Parquet SerDe. If both
are non-null, the server rejects the request.default OutputFormatConfiguration.Builder serializer(Consumer<Serializer.Builder> serializer)
Specifies which serializer to use. You can choose either the ORC SerDe or the Parquet SerDe. If both are non-null, the server rejects the request.
This is a convenience that creates an instance of theSerializer.Builder
avoiding the need to create
one manually via Serializer.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to serializer(Serializer)
.serializer
- a consumer that will call methods on Serializer.Builder
serializer(Serializer)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.