Class PostQueryOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.PostQueryOptions.Builder
-
- Enclosing class:
- PostQueryOptions
public static class PostQueryOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostQueryOptions.Builderaccept(java.lang.String accept)Set the accept.PostQueryOptions.BuilderauthInstanceId(java.lang.String authInstanceId)Set the authInstanceId.PostQueryOptionsbuild()Builds a PostQueryOptions.PostQueryOptions.Buildercatalog(java.lang.String catalog)Set the catalog.PostQueryOptions.Builderengine(java.lang.String engine)Set the engine.PostQueryOptions.Builderschema(java.lang.String schema)Set the schema.PostQueryOptions.BuildersqlQuery(java.lang.String sqlQuery)Set the sqlQuery.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String engine, java.lang.String catalog, java.lang.String schema, java.lang.String sqlQuery)Instantiates a new builder with required properties.- Parameters:
engine- the enginecatalog- the catalogschema- the schemasqlQuery- the sqlQuery
-
-
Method Detail
-
build
public PostQueryOptions build()
Builds a PostQueryOptions.- Returns:
- the new PostQueryOptions instance
-
engine
public PostQueryOptions.Builder engine(java.lang.String engine)
Set the engine.- Parameters:
engine- the engine- Returns:
- the PostQueryOptions builder
-
catalog
public PostQueryOptions.Builder catalog(java.lang.String catalog)
Set the catalog.- Parameters:
catalog- the catalog- Returns:
- the PostQueryOptions builder
-
schema
public PostQueryOptions.Builder schema(java.lang.String schema)
Set the schema.- Parameters:
schema- the schema- Returns:
- the PostQueryOptions builder
-
sqlQuery
public PostQueryOptions.Builder sqlQuery(java.lang.String sqlQuery)
Set the sqlQuery.- Parameters:
sqlQuery- the sqlQuery- Returns:
- the PostQueryOptions builder
-
accept
public PostQueryOptions.Builder accept(java.lang.String accept)
Set the accept.- Parameters:
accept- the accept- Returns:
- the PostQueryOptions builder
-
authInstanceId
public PostQueryOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId- the authInstanceId- Returns:
- the PostQueryOptions builder
-
-