Interface ModelSummary.Builder

  • Method Details

    • modelId

      ModelSummary.Builder modelId(String modelId)

      The unique identifier of the model.

      Parameters:
      modelId - The unique identifier of the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelLifecycle

      ModelSummary.Builder modelLifecycle(ModelLifecycle modelLifecycle)

      The lifecycle information for the model.

      Parameters:
      modelLifecycle - The lifecycle information for the model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelLifecycle

      default ModelSummary.Builder modelLifecycle(Consumer<ModelLifecycle.Builder> modelLifecycle)

      The lifecycle information for the model.

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

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

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

      ModelSummary.Builder minimumCompatibilityVersion(Integer minimumCompatibilityVersion)

      The minimum client compatibility version required to use this model.

      Parameters:
      minimumCompatibilityVersion - The minimum client compatibility version required to use this model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.