Interface OutputFormatConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<OutputFormatConfiguration.Builder,OutputFormatConfiguration>
,SdkBuilder<OutputFormatConfiguration.Builder,OutputFormatConfiguration>
,SdkPojo
- Enclosing class:
- OutputFormatConfiguration
public static interface OutputFormatConfiguration.Builder extends SdkPojo, CopyableBuilder<OutputFormatConfiguration.Builder,OutputFormatConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OutputFormatConfiguration.Builder
serializer(Consumer<Serializer.Builder> serializer)
Specifies which serializer to use.OutputFormatConfiguration.Builder
serializer(Serializer serializer)
Specifies which serializer to use.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
serializer
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serializer
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 method that creates an instance of theSerializer.Builder
avoiding the need to create one manually viaSerializer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserializer(Serializer)
.- Parameters:
serializer
- a consumer that will call methods onSerializer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
serializer(Serializer)
-
-