Class UpdateAliasesRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.indices.UpdateAliasesRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<UpdateAliasesRequest.Builder,UpdateAliasesRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class UpdateAliasesRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<UpdateAliasesRequest.Builder,UpdateAliasesRequest>
Updates index aliases.
-
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<UpdateAliasesRequest> Json deserializer forUpdateAliasesRequeststatic final Endpoint<UpdateAliasesRequest, UpdateAliasesResponse, ErrorResponse> Endpoint "indices.update_aliases". -
Method Summary
Modifier and TypeMethodDescriptionactions()Actions to perform.protected voidapplyQueryParameters(Map<String, String> params) static UpdateAliasesRequest.Builderbuilder()final TimeOperation timeout for connection to cluster-manager node.booleaninthashCode()final TimeDeprecated.static UpdateAliasesRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Timetimeout()Period to wait for a response.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
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 forUpdateAliasesRequest -
_ENDPOINT
Endpoint "indices.update_aliases".
-
-
Method Details
-
of
public static UpdateAliasesRequest of(Function<UpdateAliasesRequest.Builder, ObjectBuilder<UpdateAliasesRequest>> fn) -
actions
Actions to perform.API name:
actions -
clusterManagerTimeout
Operation timeout for connection to cluster-manager node.API name:
cluster_manager_timeout -
masterTimeout
Deprecated.Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
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<UpdateAliasesRequest.Builder,UpdateAliasesRequest> - Returns:
- a new builder instance.
-
builder
-
setupUpdateAliasesRequestDeserializer
protected static void setupUpdateAliasesRequestDeserializer(ObjectDeserializer<UpdateAliasesRequest.Builder> op) -
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-