Class PostStartBasicResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PostStartBasicResponse.Builder>
co.elastic.clients.elasticsearch.license.PostStartBasicResponse.Builder
- All Implemented Interfaces:
WithJson<PostStartBasicResponse.Builder>,ObjectBuilder<PostStartBasicResponse>
- Enclosing class:
- PostStartBasicResponse
public static class PostStartBasicResponse.Builder
extends WithJsonObjectBuilderBase<PostStartBasicResponse.Builder>
implements ObjectBuilder<PostStartBasicResponse>
Builder for
PostStartBasicResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacknowledge(String key, List<String> value) API name:acknowledgeacknowledge(Map<String, List<String>> map) API name:acknowledgeacknowledged(boolean value) Required - API name:acknowledgedbasicWasStarted(boolean value) Required - API name:basic_was_startedbuild()Builds aPostStartBasicResponse.errorMessage(String value) API name:error_messageprotected PostStartBasicResponse.Builderself()type(LicenseType value) API name:typeMethods 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
-
acknowledged
Required - API name:acknowledged -
basicWasStarted
Required - API name:basic_was_started -
errorMessage
API name:error_message -
type
API name:type -
acknowledge
API name:acknowledgeAdds all entries of
maptoacknowledge. -
acknowledge
API name:acknowledgeAdds an entry to
acknowledge. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<PostStartBasicResponse.Builder>
-
build
Builds aPostStartBasicResponse.- Specified by:
buildin interfaceObjectBuilder<PostStartBasicResponse>- Throws:
NullPointerException- if some of the required fields are null.
-