Class ThrottleState.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ThrottleState.Builder>
co.elastic.clients.elasticsearch.watcher.ThrottleState.Builder
- All Implemented Interfaces:
WithJson<ThrottleState.Builder>,ObjectBuilder<ThrottleState>
- Enclosing class:
- ThrottleState
public static class ThrottleState.Builder
extends WithJsonObjectBuilderBase<ThrottleState.Builder>
implements ObjectBuilder<ThrottleState>
Builder for
ThrottleState.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aThrottleState.final ThrottleState.BuilderRequired - API name:reasonprotected ThrottleState.Builderself()final ThrottleState.BuilderRequired - API name:timestampMethods 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
-
reason
Required - API name:reason -
timestamp
Required - API name:timestamp -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ThrottleState.Builder>
-
build
Builds aThrottleState.- Specified by:
buildin interfaceObjectBuilder<ThrottleState>- Throws:
NullPointerException- if some of the required fields are null.
-