Class LoggingAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.watcher.LoggingAction.Builder
- All Implemented Interfaces:
ObjectBuilder<LoggingAction>
- Enclosing class:
- LoggingAction
public static class LoggingAction.Builder extends ObjectBuilderBase implements ObjectBuilder<LoggingAction>
Builder for
LoggingAction.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description LoggingActionbuild()Builds aLoggingAction.LoggingAction.Buildercategory(java.lang.String value)API name:categoryLoggingAction.Builderlevel(java.lang.String value)API name:levelLoggingAction.Buildertext(java.lang.String value)Required - API name:textMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
level
API name:level -
text
Required - API name:text -
category
API name:category -
build
Builds aLoggingAction.- Specified by:
buildin interfaceObjectBuilder<LoggingAction>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-