Class EvaluateOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.EvaluateOptions.Builder
-
- Enclosing class:
- EvaluateOptions
public static class EvaluateOptions.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluateOptions.Builder
addResources(ResourcesMetadata resources)
Adds an resources to resources.EvaluateOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.EvaluateOptions
build()
Builds a EvaluateOptions.EvaluateOptions.Builder
lhInstanceId(java.lang.String lhInstanceId)
Set the lhInstanceId.EvaluateOptions.Builder
resources(java.util.List<ResourcesMetadata> resources)
Set the resources.
-
-
-
Method Detail
-
build
public EvaluateOptions build()
Builds a EvaluateOptions.- Returns:
- the new EvaluateOptions instance
-
addResources
public EvaluateOptions.Builder addResources(ResourcesMetadata resources)
Adds an resources to resources.- Parameters:
resources
- the new resources- Returns:
- the EvaluateOptions builder
-
resources
public EvaluateOptions.Builder resources(java.util.List<ResourcesMetadata> resources)
Set the resources. Existing resources will be replaced.- Parameters:
resources
- the resources- Returns:
- the EvaluateOptions builder
-
lhInstanceId
public EvaluateOptions.Builder lhInstanceId(java.lang.String lhInstanceId)
Set the lhInstanceId.- Parameters:
lhInstanceId
- the lhInstanceId- Returns:
- the EvaluateOptions builder
-
authInstanceId
public EvaluateOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the EvaluateOptions builder
-
-