Class UpdateDistinguishedNameRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<UpdateDistinguishedNameRequest.Builder>
org.opensearch.client.opensearch.security.UpdateDistinguishedNameRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<UpdateDistinguishedNameRequest.Builder,,UpdateDistinguishedNameRequest> MutableBuilder<UpdateDistinguishedNameRequest.Builder,,UpdateDistinguishedNameRequest> ObjectBuilder<UpdateDistinguishedNameRequest>
- Enclosing class:
UpdateDistinguishedNameRequest
public static class UpdateDistinguishedNameRequest.Builder
extends RequestBase.AbstractBuilder<UpdateDistinguishedNameRequest.Builder>
implements CopyableBuilder<UpdateDistinguishedNameRequest.Builder,UpdateDistinguishedNameRequest>
Builder for
UpdateDistinguishedNameRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aUpdateDistinguishedNameRequest.clusterName(String value) Required - The name of the cluster containing thenodesDnvalue to create or update.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:nodes_dnAPI name:nodes_dnprotected UpdateDistinguishedNameRequest.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<UpdateDistinguishedNameRequest.Builder,UpdateDistinguishedNameRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<UpdateDistinguishedNameRequest.Builder>
-
clusterName
Required - The name of the cluster containing thenodesDnvalue to create or update.API name:
cluster_name -
nodesDn
API name:nodes_dnAdds all elements of
listtonodesDn. -
nodesDn
@Nonnull public final UpdateDistinguishedNameRequest.Builder nodesDn(String value, String... values) API name:nodes_dnAdds one or more values to
nodesDn. -
build
Builds aUpdateDistinguishedNameRequest.- Specified by:
buildin interfaceObjectBuilder<UpdateDistinguishedNameRequest>- Throws:
NullPointerException- if some of the required fields are null.
-