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 Details

    • 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 the Deserializer.Builder avoiding the need to create one manually via Deserializer.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deserializer(Deserializer).

      Parameters:
      deserializer - a consumer that will call methods on Deserializer.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: