Class CompactNodeInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<CompactNodeInfo.Builder>
co.elastic.clients.elasticsearch.snapshot.verify_repository.CompactNodeInfo.Builder
- All Implemented Interfaces:
WithJson<CompactNodeInfo.Builder>,ObjectBuilder<CompactNodeInfo>
- Enclosing class:
- CompactNodeInfo
public static class CompactNodeInfo.Builder
extends WithJsonObjectBuilderBase<CompactNodeInfo.Builder>
implements ObjectBuilder<CompactNodeInfo>
Builder for
CompactNodeInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCompactNodeInfo.final CompactNodeInfo.BuilderRequired - A human-readable name for the node.protected CompactNodeInfo.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
-
name
Required - A human-readable name for the node. You can set this name using thenode.nameproperty inelasticsearch.yml. The default value is the machine's hostname.API name:
name -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<CompactNodeInfo.Builder>
-
build
Builds aCompactNodeInfo.- Specified by:
buildin interfaceObjectBuilder<CompactNodeInfo>- Throws:
NullPointerException- if some of the required fields are null.
-