Class TransformHealthIssue.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TransformHealthIssue.Builder>
co.elastic.clients.elasticsearch.transform.get_transform_stats.TransformHealthIssue.Builder
- All Implemented Interfaces:
WithJson<TransformHealthIssue.Builder>,ObjectBuilder<TransformHealthIssue>
- Enclosing class:
- TransformHealthIssue
public static class TransformHealthIssue.Builder
extends WithJsonObjectBuilderBase<TransformHealthIssue.Builder>
implements ObjectBuilder<TransformHealthIssue>
Builder for
TransformHealthIssue.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTransformHealthIssue.count(int value) Required - Number of times this issue has occurred since it startedDetails about the issuefirstOccurenceString(DateTime value) API name:first_occurence_stringfirstOccurrence(Long value) The timestamp this issue occurred for for the first timeRequired - A description of the issueprotected TransformHealthIssue.Builderself()Required - The type of the issueMethods 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
-
type
Required - The type of the issueAPI name:
type -
issue
Required - A description of the issueAPI name:
issue -
details
Details about the issueAPI name:
details -
count
Required - Number of times this issue has occurred since it startedAPI name:
count -
firstOccurrence
The timestamp this issue occurred for for the first timeAPI name:
first_occurrence -
firstOccurenceString
API name:first_occurence_string -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<TransformHealthIssue.Builder>
-
build
Builds aTransformHealthIssue.- Specified by:
buildin interfaceObjectBuilder<TransformHealthIssue>- Throws:
NullPointerException- if some of the required fields are null.
-