Class DistinguishedNames.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.security.DistinguishedNames.Builder
- All Implemented Interfaces:
CopyableBuilder<DistinguishedNames.Builder,,DistinguishedNames> MutableBuilder<DistinguishedNames.Builder,,DistinguishedNames> ObjectBuilder<DistinguishedNames>
- Enclosing class:
DistinguishedNames
public static class DistinguishedNames.Builder
extends ObjectBuilderBase
implements CopyableBuilder<DistinguishedNames.Builder,DistinguishedNames>
Builder for
DistinguishedNames.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDistinguishedNames.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:nodes_dnAPI name:nodes_dnMethods 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<DistinguishedNames.Builder,DistinguishedNames> - Returns:
- a new builder instance.
-
nodesDn
API name:nodes_dnAdds all elements of
listtonodesDn. -
nodesDn
API name:nodes_dnAdds one or more values to
nodesDn. -
build
Builds aDistinguishedNames.- Specified by:
buildin interfaceObjectBuilder<DistinguishedNames>- Throws:
NullPointerException- if some of the required fields are null.
-