Class UpdateWarehouseInstanceHandlerBuilder
- java.lang.Object
-
- com.snowflake.connectors.taskreactor.api.UpdateWarehouseInstanceHandlerBuilder
-
public class UpdateWarehouseInstanceHandlerBuilder extends Object
Builder for theUpdateWarehouseInstanceHandler
.Allows for customization of the following handler components:
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateWarehouseInstanceHandler
build()
Builds a new handler instance.UpdateWarehouseInstanceHandlerBuilder
withErrorHelper(ConnectorErrorHelper errorHelper)
Sets the error helper used to build the handler instance.UpdateWarehouseInstanceHandlerBuilder
withUpdateTaskReactorTasks(UpdateTaskReactorTasks updateTaskReactorTasks)
Sets the input validator used to build the handler instance.
-
-
-
Method Detail
-
withUpdateTaskReactorTasks
public UpdateWarehouseInstanceHandlerBuilder withUpdateTaskReactorTasks(UpdateTaskReactorTasks updateTaskReactorTasks)
Sets the input validator used to build the handler instance.- Parameters:
updateTaskReactorTasks
- updates operations on tasks- Returns:
- this builder
-
withErrorHelper
public UpdateWarehouseInstanceHandlerBuilder withErrorHelper(ConnectorErrorHelper errorHelper)
Sets the error helper used to build the handler instance.- Parameters:
errorHelper
- connector error helper- Returns:
- this builder
-
build
public UpdateWarehouseInstanceHandler build()
Builds a new handler instance.- Returns:
- new handler instance
- Throws:
NullPointerException
- if any property for the new handler is null
-
-