Class ScalePrestoEngineOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.ScalePrestoEngineOptions.Builder
-
- Enclosing class:
- ScalePrestoEngineOptions
public static class ScalePrestoEngineOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScalePrestoEngineOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.ScalePrestoEngineOptions
build()
Builds a ScalePrestoEngineOptions.ScalePrestoEngineOptions.Builder
coordinator(NodeDescription coordinator)
Set the coordinator.ScalePrestoEngineOptions.Builder
engineId(java.lang.String engineId)
Set the engineId.ScalePrestoEngineOptions.Builder
worker(NodeDescription worker)
Set the worker.
-
-
-
Method Detail
-
build
public ScalePrestoEngineOptions build()
Builds a ScalePrestoEngineOptions.- Returns:
- the new ScalePrestoEngineOptions instance
-
engineId
public ScalePrestoEngineOptions.Builder engineId(java.lang.String engineId)
Set the engineId.- Parameters:
engineId
- the engineId- Returns:
- the ScalePrestoEngineOptions builder
-
coordinator
public ScalePrestoEngineOptions.Builder coordinator(NodeDescription coordinator)
Set the coordinator.- Parameters:
coordinator
- the coordinator- Returns:
- the ScalePrestoEngineOptions builder
-
worker
public ScalePrestoEngineOptions.Builder worker(NodeDescription worker)
Set the worker.- Parameters:
worker
- the worker- Returns:
- the ScalePrestoEngineOptions builder
-
authInstanceId
public ScalePrestoEngineOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the ScalePrestoEngineOptions builder
-
-