Interface InputChannel.Builder

  • Method Details

    • dataSource

      The data source that is used to create the ML input channel.

      Parameters:
      dataSource - The data source that is used to create the ML input channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSource

      The data source that is used to create the ML input channel.

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

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

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

      InputChannel.Builder roleArn(String roleArn)

      The Amazon Resource Name (ARN) of the role used to run the query specified in the dataSource field of the input channel.

      Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an AccessDeniedException error.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the role used to run the query specified in the dataSource field of the input channel.

      Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an AccessDeniedException error.

      Returns:
      Returns a reference to this object so that method calls can be chained together.