Class DelegatePkiRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DelegatePkiRequest.Builder>
co.elastic.clients.elasticsearch.security.DelegatePkiRequest.Builder
- All Implemented Interfaces:
WithJson<DelegatePkiRequest.Builder>
,ObjectBuilder<DelegatePkiRequest>
- Enclosing class:
- DelegatePkiRequest
public static class DelegatePkiRequest.Builder
extends RequestBase.AbstractBuilder<DelegatePkiRequest.Builder>
implements ObjectBuilder<DelegatePkiRequest>
Builder for
DelegatePkiRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDelegatePkiRequest
.protected DelegatePkiRequest.Builder
self()
x509CertificateChain
(String value, String... values) Required - The X509Certificate chain, which is represented as an ordered string array.x509CertificateChain
(List<String> list) Required - The X509Certificate chain, which is represented as an ordered string array.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
x509CertificateChain
Required - The X509Certificate chain, which is represented as an ordered string array. Each string in the array is a base64-encoded (Section 4 of RFC4648 - not base64url-encoded) of the certificate's DER encoding.The first element is the target certificate that contains the subject distinguished name that is requesting access. This may be followed by additional certificates; each subsequent certificate is used to certify the previous one.
API name:
x509_certificate_chain
Adds all elements of
list
tox509CertificateChain
. -
x509CertificateChain
Required - The X509Certificate chain, which is represented as an ordered string array. Each string in the array is a base64-encoded (Section 4 of RFC4648 - not base64url-encoded) of the certificate's DER encoding.The first element is the target certificate that contains the subject distinguished name that is requesting access. This may be followed by additional certificates; each subsequent certificate is used to certify the previous one.
API name:
x509_certificate_chain
Adds one or more values to
x509CertificateChain
. -
self
- Specified by:
self
in classRequestBase.AbstractBuilder<DelegatePkiRequest.Builder>
-
build
Builds aDelegatePkiRequest
.- Specified by:
build
in interfaceObjectBuilder<DelegatePkiRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-