Class ModifyDataStreamRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ModifyDataStreamRequest.Builder>
co.elastic.clients.elasticsearch.indices.ModifyDataStreamRequest.Builder
- All Implemented Interfaces:
WithJson<ModifyDataStreamRequest.Builder>,ObjectBuilder<ModifyDataStreamRequest>
- Enclosing class:
- ModifyDataStreamRequest
public static class ModifyDataStreamRequest.Builder extends WithJsonObjectBuilderBase<ModifyDataStreamRequest.Builder> implements ObjectBuilder<ModifyDataStreamRequest>
Builder for
ModifyDataStreamRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ModifyDataStreamRequest.Builderactions(Action value, Action... values)Required - Actions to perform.ModifyDataStreamRequest.Builderactions(java.util.function.Function<Action.Builder,ObjectBuilder<Action>> fn)Required - Actions to perform.ModifyDataStreamRequest.Builderactions(java.util.List<Action> list)Required - Actions to perform.ModifyDataStreamRequestbuild()Builds aModifyDataStreamRequest.protected ModifyDataStreamRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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
-
actions
Required - Actions to perform.API name:
actionsAdds all elements of
listtoactions. -
actions
Required - Actions to perform.API name:
actionsAdds one or more values to
actions. -
actions
public final ModifyDataStreamRequest.Builder actions(java.util.function.Function<Action.Builder,ObjectBuilder<Action>> fn)Required - Actions to perform.API name:
actionsAdds a value to
actionsusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ModifyDataStreamRequest.Builder>
-
build
Builds aModifyDataStreamRequest.- Specified by:
buildin interfaceObjectBuilder<ModifyDataStreamRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-