Class DelegatePkiResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DelegatePkiResponse.Builder>
co.elastic.clients.elasticsearch.security.DelegatePkiResponse.Builder
- All Implemented Interfaces:
- WithJson<DelegatePkiResponse.Builder>,- ObjectBuilder<DelegatePkiResponse>
- Enclosing class:
- DelegatePkiResponse
public static class DelegatePkiResponse.Builder
extends WithJsonObjectBuilderBase<DelegatePkiResponse.Builder>
implements ObjectBuilder<DelegatePkiResponse>
Builder for 
DelegatePkiResponse.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaccessToken(String value) Required - An access token associated with the subject distinguished name of the client's certificate.authentication(Authentication value) API name:authenticationAPI name:authenticationbuild()Builds aDelegatePkiResponse.expiresIn(long value) Required - The amount of time (in seconds) before the token expires.protected DelegatePkiResponse.Builderself()Required - The type of token.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
accessTokenRequired - An access token associated with the subject distinguished name of the client's certificate.API name: access_token
- 
expiresInRequired - The amount of time (in seconds) before the token expires.API name: expires_in
- 
typeRequired - The type of token.API name: type
- 
authenticationAPI name:authentication
- 
authenticationpublic final DelegatePkiResponse.Builder authentication(Function<Authentication.Builder, ObjectBuilder<Authentication>> fn) API name:authentication
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<DelegatePkiResponse.Builder>
 
- 
buildBuilds aDelegatePkiResponse.- Specified by:
- buildin interface- ObjectBuilder<DelegatePkiResponse>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-