Class CreateControllerRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ml.CreateControllerRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<CreateControllerRequest.Builder,CreateControllerRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class CreateControllerRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<CreateControllerRequest.Builder,CreateControllerRequest>
Creates a controller.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CreateControllerRequest> Json deserializer forCreateControllerRequeststatic final Endpoint<CreateControllerRequest, CreateControllerResponse, ErrorResponse> Endpoint "ml.create_controller". -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()final StringmodelId()Required - API name:model_idstatic CreateControllerRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Map<String, RateLimiter> API name:user_rate_limiterMethods inherited from class org.opensearch.client.opensearch._types.RequestBase
applyQueryParameters, errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forCreateControllerRequest -
_ENDPOINT
public static final Endpoint<CreateControllerRequest,CreateControllerResponse, _ENDPOINTErrorResponse> Endpoint "ml.create_controller".
-
-
Method Details
-
of
public static CreateControllerRequest of(Function<CreateControllerRequest.Builder, ObjectBuilder<CreateControllerRequest>> fn) -
modelId
Required - API name:model_id -
userRateLimiter
API name:user_rate_limiter -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateControllerRequest.Builder,CreateControllerRequest> - Returns:
- a new builder instance.
-
builder
-
setupCreateControllerRequestDeserializer
protected static void setupCreateControllerRequestDeserializer(ObjectDeserializer<CreateControllerRequest.Builder> op) -
hashCode
public int hashCode() -
equals
-