Class GetDistinguishedNameRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<GetDistinguishedNameRequest.Builder>
org.opensearch.client.opensearch.security.GetDistinguishedNameRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<GetDistinguishedNameRequest.Builder,,GetDistinguishedNameRequest> MutableBuilder<GetDistinguishedNameRequest.Builder,,GetDistinguishedNameRequest> ObjectBuilder<GetDistinguishedNameRequest>
- Enclosing class:
GetDistinguishedNameRequest
public static class GetDistinguishedNameRequest.Builder
extends RequestBase.AbstractBuilder<GetDistinguishedNameRequest.Builder>
implements CopyableBuilder<GetDistinguishedNameRequest.Builder,GetDistinguishedNameRequest>
Builder for
GetDistinguishedNameRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetDistinguishedNameRequest.clusterName(String value) Required - The name of the cluster to retrieve that cluster's nodes DN settings.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected GetDistinguishedNameRequest.Builderself()Whether to include or exclude any static node's DN settings from the final result.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<GetDistinguishedNameRequest.Builder,GetDistinguishedNameRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetDistinguishedNameRequest.Builder>
-
clusterName
Required - The name of the cluster to retrieve that cluster's nodes DN settings.API name:
cluster_name -
showAll
Whether to include or exclude any static node's DN settings from the final result.API name:
show_all -
build
Builds aGetDistinguishedNameRequest.- Specified by:
buildin interfaceObjectBuilder<GetDistinguishedNameRequest>- Throws:
NullPointerException- if some of the required fields are null.
-