Interface InputFileConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InputFileConfig.Builder,InputFileConfig>, SdkBuilder<InputFileConfig.Builder,InputFileConfig>, SdkPojo
Enclosing class:
InputFileConfig

public static interface InputFileConfig.Builder extends SdkPojo, CopyableBuilder<InputFileConfig.Builder,InputFileConfig>
  • Method Details

    • channelName

      InputFileConfig.Builder channelName(String channelName)

      A named input source that an Amazon Braket job can consume.

      Parameters:
      channelName - A named input source that an Amazon Braket job can consume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentType

      InputFileConfig.Builder contentType(String contentType)

      The MIME type of the data.

      Parameters:
      contentType - The MIME type of the data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSource

      InputFileConfig.Builder dataSource(DataSource dataSource)

      The location of the channel data.

      Parameters:
      dataSource - The location of the channel data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSource

      default InputFileConfig.Builder dataSource(Consumer<DataSource.Builder> dataSource)

      The location of the channel data.

      This is a convenience method that creates an instance of the DataSource.Builder avoiding the need to create one manually via DataSource.builder().

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

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