Class PostRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<PostRequest.Builder>
co.elastic.clients.elasticsearch.license.PostRequest.Builder
- All Implemented Interfaces:
WithJson<PostRequest.Builder>,ObjectBuilder<PostRequest>
- Enclosing class:
- PostRequest
public static class PostRequest.Builder
extends RequestBase.AbstractBuilder<PostRequest.Builder>
implements ObjectBuilder<PostRequest>
Builder for
PostRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal PostRequest.Builderacknowledge(Boolean value) Specifies whether you acknowledge the license changes.build()Builds aPostRequest.final PostRequest.BuilderAPI name:licensefinal PostRequest.BuilderAPI name:licensefinal PostRequest.BuilderA sequence of one or more JSON documents containing the license information.final PostRequest.BuilderA sequence of one or more JSON documents containing the license information.final PostRequest.BuilderA sequence of one or more JSON documents containing the license information.protected PostRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acknowledge
Specifies whether you acknowledge the license changes.API name:
acknowledge -
license
API name:license -
license
API name:license -
licenses
A sequence of one or more JSON documents containing the license information.API name:
licensesAdds all elements of
listtolicenses. -
licenses
A sequence of one or more JSON documents containing the license information.API name:
licensesAdds one or more values to
licenses. -
licenses
A sequence of one or more JSON documents containing the license information.API name:
licensesAdds a value to
licensesusing a builder lambda. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<PostRequest.Builder>
-
build
Builds aPostRequest.- Specified by:
buildin interfaceObjectBuilder<PostRequest>- Throws:
NullPointerException- if some of the required fields are null.
-