Class GetBucketsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.GetBucketsRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class GetBucketsRequest
extends RequestBase
implements JsonpSerializable
Get anomaly detection job results for buckets. The API presents a
chronological view of the records, grouped by bucket.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetBucketsRequest>Json deserializer forGetBucketsRequeststatic final Endpoint<GetBucketsRequest,GetBucketsResponse, ErrorResponse> Endpoint "ml.get_buckets". -
Method Summary
Modifier and TypeMethodDescriptionfinal DoubleRefer to the description for theanomaly_scorequery parameter.final Booleandesc()Refer to the description for thedescquery parameter.final DateTimeend()Refer to the description for theendquery parameter.final BooleanRefer to the description for theexclude_interimquery parameter.final Booleanexpand()Refer to the description for theexpandquery parameter.final Integerfrom()Skips the specified number of buckets.final StringjobId()Required - Identifier for the anomaly detection job.static GetBucketsRequestfinal Pagepage()API name:pagevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integersize()Specifies the maximum number of buckets to obtain.final Stringsort()Refer to the desription for thesortquery parameter.final DateTimestart()Refer to the description for thestartquery parameter.final DateTimeThe timestamp of a single bucket result.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forGetBucketsRequest -
_ENDPOINT
Endpoint "ml.get_buckets".
-
-
Method Details
-
of
public static GetBucketsRequest of(Function<GetBucketsRequest.Builder, ObjectBuilder<GetBucketsRequest>> fn) -
anomalyScore
Refer to the description for theanomaly_scorequery parameter.API name:
anomaly_score -
desc
Refer to the description for thedescquery parameter.API name:
desc -
end
Refer to the description for theendquery parameter.API name:
end -
excludeInterim
Refer to the description for theexclude_interimquery parameter.API name:
exclude_interim -
expand
Refer to the description for theexpandquery parameter.API name:
expand -
from
Skips the specified number of buckets.API name:
from -
jobId
Required - Identifier for the anomaly detection job.API name:
job_id -
page
API name:page -
size
Specifies the maximum number of buckets to obtain.API name:
size -
sort
Refer to the desription for thesortquery parameter.API name:
sort -
start
Refer to the description for thestartquery parameter.API name:
start -
timestamp
The timestamp of a single bucket result. If you do not specify this parameter, the API returns information about all buckets.API name:
timestamp -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGetBucketsRequestDeserializer
protected static void setupGetBucketsRequestDeserializer(ObjectDeserializer<GetBucketsRequest.Builder> op)
-