Class PutTrainedModelAliasRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.PutTrainedModelAliasRequest
All Implemented Interfaces:
ElasticsearchCommonRequest

public final class PutTrainedModelAliasRequest
extends RequestBase
  • Field Details

  • Constructor Details

  • Method Details

    • modelAlias

      public java.lang.String modelAlias()
      Required - The alias to create or update. This value cannot end in numbers.

      API name: model_alias

    • modelId

      public java.lang.String modelId()
      Required - The identifier for the trained model that the alias refers to.

      API name: model_id

    • reassign

      @Nullable public java.lang.Boolean reassign()
      Specifies whether the alias gets reassigned to the specified trained model if it is already assigned to a different model. If the alias is already assigned and this parameter is false, the API returns an error.

      API name: reassign