Class GetAllCertificatesRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<GetAllCertificatesRequest.Builder>
org.opensearch.client.opensearch.security.GetAllCertificatesRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<GetAllCertificatesRequest.Builder,,GetAllCertificatesRequest> MutableBuilder<GetAllCertificatesRequest.Builder,,GetAllCertificatesRequest> ObjectBuilder<GetAllCertificatesRequest>
- Enclosing class:
GetAllCertificatesRequest
public static class GetAllCertificatesRequest.Builder
extends RequestBase.AbstractBuilder<GetAllCertificatesRequest.Builder>
implements CopyableBuilder<GetAllCertificatesRequest.Builder,GetAllCertificatesRequest>
Builder for
GetAllCertificatesRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetAllCertificatesRequest.The type of certificates (HTTP,TRANSPORT, orALL) to retrieve from all nodes.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected GetAllCertificatesRequest.Builderself()The maximum duration, in seconds, to spend retrieving certificates from all nodes before a timeout.The maximum duration, in seconds, to spend retrieving certificates from all nodes before a timeout.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<GetAllCertificatesRequest.Builder,GetAllCertificatesRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetAllCertificatesRequest.Builder>
-
certType
The type of certificates (HTTP,TRANSPORT, orALL) to retrieve from all nodes.API name:
cert_type -
timeout
The maximum duration, in seconds, to spend retrieving certificates from all nodes before a timeout.API name:
timeout -
timeout
@Nonnull public final GetAllCertificatesRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The maximum duration, in seconds, to spend retrieving certificates from all nodes before a timeout.API name:
timeout -
build
Builds aGetAllCertificatesRequest.- Specified by:
buildin interfaceObjectBuilder<GetAllCertificatesRequest>- Throws:
NullPointerException- if some of the required fields are null.
-