Class PatchDistinguishedNameRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.PatchDistinguishedNameRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PatchDistinguishedNameRequest.Builder,PatchDistinguishedNameRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PatchDistinguishedNameRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<PatchDistinguishedNameRequest.Builder,PatchDistinguishedNameRequest>
Updates the distinguished cluster name for the specified cluster. Requires super admin or REST API permissions.
-
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<PatchDistinguishedNameRequest> Endpoint "security.patch_distinguished_name". -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringRequired - The cluster name to update thenodesDnvalue.protected static JsonpDeserializer<PatchDistinguishedNameRequest> booleaninthashCode()final List<PatchOperation> Required - Request body.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods 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
-
_ENDPOINT
public static final Endpoint<PatchDistinguishedNameRequest,PatchDistinguishedNameResponse, _ENDPOINTErrorResponse> Endpoint "security.patch_distinguished_name".
-
-
Method Details
-
of
-
clusterName
Required - The cluster name to update thenodesDnvalue.API name:
cluster_name -
operations
Required - Request body. -
serialize
Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PatchDistinguishedNameRequest.Builder,PatchDistinguishedNameRequest> - Returns:
- a new builder instance.
-
builder
-
createPatchDistinguishedNameRequestDeserializer
protected static JsonpDeserializer<PatchDistinguishedNameRequest> createPatchDistinguishedNameRequestDeserializer() -
hashCode
public int hashCode() -
equals
-