Class ClusterInfoRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ClusterInfoRequest.Builder>
co.elastic.clients.elasticsearch.cluster.ClusterInfoRequest.Builder
- All Implemented Interfaces:
WithJson<ClusterInfoRequest.Builder>,ObjectBuilder<ClusterInfoRequest>
- Enclosing class:
- ClusterInfoRequest
public static class ClusterInfoRequest.Builder
extends RequestBase.AbstractBuilder<ClusterInfoRequest.Builder>
implements ObjectBuilder<ClusterInfoRequest>
Builder for
ClusterInfoRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aClusterInfoRequest.protected ClusterInfoRequest.Builderself()target(ClusterInfoTarget value, ClusterInfoTarget... values) Required - Limits the information returned to the specific target.target(List<ClusterInfoTarget> list) Required - Limits the information returned to the specific target.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
-
target
Required - Limits the information returned to the specific target. Supports a comma-separated list, such as http,ingest.API name:
targetAdds all elements of
listtotarget. -
target
public final ClusterInfoRequest.Builder target(ClusterInfoTarget value, ClusterInfoTarget... values) Required - Limits the information returned to the specific target. Supports a comma-separated list, such as http,ingest.API name:
targetAdds one or more values to
target. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ClusterInfoRequest.Builder>
-
build
Builds aClusterInfoRequest.- Specified by:
buildin interfaceObjectBuilder<ClusterInfoRequest>- Throws:
NullPointerException- if some of the required fields are null.
-