Interface TrainingDataSchema.Builder

  • Method Details

    • modelVariables

      TrainingDataSchema.Builder modelVariables(Collection<String> modelVariables)

      The training data schema variables.

      Parameters:
      modelVariables - The training data schema variables.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelVariables

      TrainingDataSchema.Builder modelVariables(String... modelVariables)

      The training data schema variables.

      Parameters:
      modelVariables - The training data schema variables.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • labelSchema

      TrainingDataSchema.Builder labelSchema(LabelSchema labelSchema)
      Sets the value of the LabelSchema property for this object.
      Parameters:
      labelSchema - The new value for the LabelSchema property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • labelSchema

      default TrainingDataSchema.Builder labelSchema(Consumer<LabelSchema.Builder> labelSchema)
      Sets the value of the LabelSchema property for this object. This is a convenience method that creates an instance of the LabelSchema.Builder avoiding the need to create one manually via LabelSchema.builder().

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

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