Interface BatchInferenceJobInput.Builder

  • Method Details

    • s3DataSource

      BatchInferenceJobInput.Builder s3DataSource(S3DataConfig s3DataSource)

      The URI of the Amazon S3 location that contains your input data. The Amazon S3 bucket must be in the same region as the API endpoint you are calling.

      Parameters:
      s3DataSource - The URI of the Amazon S3 location that contains your input data. The Amazon S3 bucket must be in the same region as the API endpoint you are calling.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3DataSource

      default BatchInferenceJobInput.Builder s3DataSource(Consumer<S3DataConfig.Builder> s3DataSource)

      The URI of the Amazon S3 location that contains your input data. The Amazon S3 bucket must be in the same region as the API endpoint you are calling.

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

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

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