Class SaveQueryOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.SaveQueryOptions.Builder
-
- Enclosing class:
- SaveQueryOptions
public static class SaveQueryOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaveQueryOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.SaveQueryOptions
build()
Builds a SaveQueryOptions.SaveQueryOptions.Builder
createdBy(java.lang.String createdBy)
Set the createdBy.SaveQueryOptions.Builder
createdOn(java.lang.String createdOn)
Set the createdOn.SaveQueryOptions.Builder
description(java.lang.String description)
Set the description.SaveQueryOptions.Builder
engineId(java.lang.String engineId)
Set the engineId.SaveQueryOptions.Builder
queryName(java.lang.String queryName)
Set the queryName.SaveQueryOptions.Builder
queryString(java.lang.String queryString)
Set the queryString.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String queryName, java.lang.String createdBy, java.lang.String description, java.lang.String queryString)
Instantiates a new builder with required properties.- Parameters:
queryName
- the queryNamecreatedBy
- the createdBydescription
- the descriptionqueryString
- the queryString
-
-
Method Detail
-
build
public SaveQueryOptions build()
Builds a SaveQueryOptions.- Returns:
- the new SaveQueryOptions instance
-
queryName
public SaveQueryOptions.Builder queryName(java.lang.String queryName)
Set the queryName.- Parameters:
queryName
- the queryName- Returns:
- the SaveQueryOptions builder
-
createdBy
public SaveQueryOptions.Builder createdBy(java.lang.String createdBy)
Set the createdBy.- Parameters:
createdBy
- the createdBy- Returns:
- the SaveQueryOptions builder
-
description
public SaveQueryOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description
- the description- Returns:
- the SaveQueryOptions builder
-
queryString
public SaveQueryOptions.Builder queryString(java.lang.String queryString)
Set the queryString.- Parameters:
queryString
- the queryString- Returns:
- the SaveQueryOptions builder
-
createdOn
public SaveQueryOptions.Builder createdOn(java.lang.String createdOn)
Set the createdOn.- Parameters:
createdOn
- the createdOn- Returns:
- the SaveQueryOptions builder
-
engineId
public SaveQueryOptions.Builder engineId(java.lang.String engineId)
Set the engineId.- Parameters:
engineId
- the engineId- Returns:
- the SaveQueryOptions builder
-
authInstanceId
public SaveQueryOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the SaveQueryOptions builder
-
-