Class GetAllCertificatesResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.NodesResponseBase.AbstractBuilder<GetAllCertificatesResponse.Builder>
org.opensearch.client.opensearch.security.GetAllCertificatesResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<GetAllCertificatesResponse.Builder,,GetAllCertificatesResponse> MutableBuilder<GetAllCertificatesResponse.Builder,,GetAllCertificatesResponse> ObjectBuilder<GetAllCertificatesResponse>
- Enclosing class:
GetAllCertificatesResponse
public static class GetAllCertificatesResponse.Builder
extends NodesResponseBase.AbstractBuilder<GetAllCertificatesResponse.Builder>
implements CopyableBuilder<GetAllCertificatesResponse.Builder,GetAllCertificatesResponse>
Builder for
GetAllCertificatesResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetAllCertificatesResponse.clusterName(String value) Name of this cluster.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:nodesnodes(String key, CertificatesPerNode value) API name:nodesnodes(Map<String, CertificatesPerNode> map) API name:nodesprotected GetAllCertificatesResponse.Builderself()Methods inherited from class org.opensearch.client.opensearch.nodes.NodesResponseBase.AbstractBuilder
nodeStats, nodeStatsMethods 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<GetAllCertificatesResponse.Builder,GetAllCertificatesResponse> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classNodesResponseBase.AbstractBuilder<GetAllCertificatesResponse.Builder>
-
clusterName
Name of this cluster.API name:
cluster_name -
nodes
API name:nodesAdds all elements of
maptonodes. -
nodes
@Nonnull public final GetAllCertificatesResponse.Builder nodes(String key, CertificatesPerNode value) API name:nodesAdds an entry to
nodes. -
nodes
@Nonnull public final GetAllCertificatesResponse.Builder nodes(String key, Function<CertificatesPerNode.Builder, ObjectBuilder<CertificatesPerNode>> fn) API name:nodesAdds a value to
nodesusing a builder lambda. -
build
Builds aGetAllCertificatesResponse.- Specified by:
buildin interfaceObjectBuilder<GetAllCertificatesResponse>- Throws:
NullPointerException- if some of the required fields are null.
-