Interface InputFormatConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InputFormatConfiguration.Builder,InputFormatConfiguration>
,SdkBuilder<InputFormatConfiguration.Builder,InputFormatConfiguration>
,SdkPojo
- Enclosing class:
- InputFormatConfiguration
public static interface InputFormatConfiguration.Builder extends SdkPojo, CopyableBuilder<InputFormatConfiguration.Builder,InputFormatConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InputFormatConfiguration.Builder
deserializer(Consumer<Deserializer.Builder> deserializer)
Specifies which deserializer to use.InputFormatConfiguration.Builder
deserializer(Deserializer deserializer)
Specifies which deserializer 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, sdkFields
-
-
-
-
Method Detail
-
deserializer
InputFormatConfiguration.Builder deserializer(Deserializer deserializer)
Specifies which deserializer to use. You can choose either the Apache Hive JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the request.
- Parameters:
deserializer
- Specifies which deserializer to use. You can choose either the Apache Hive JSON SerDe or the OpenX JSON 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.
-
deserializer
default InputFormatConfiguration.Builder deserializer(Consumer<Deserializer.Builder> deserializer)
Specifies which deserializer to use. You can choose either the Apache Hive JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the request.
This is a convenience method that creates an instance of theDeserializer.Builder
avoiding the need to create one manually viaDeserializer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeserializer(Deserializer)
.- Parameters:
deserializer
- a consumer that will call methods onDeserializer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deserializer(Deserializer)
-
-