Class CreateEngineOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.CreateEngineOptions.Builder
-
- Enclosing class:
- CreateEngineOptions
public static class CreateEngineOptions.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(java.lang.String version, EngineDetailsBody engineDetails, java.lang.String origin, java.lang.String type)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateEngineOptions.Builder
accept(java.lang.String accept)
Set the accept.CreateEngineOptions.Builder
addAssociatedCatalogs(java.lang.String associatedCatalogs)
Adds an associatedCatalogs to associatedCatalogs.CreateEngineOptions.Builder
associatedCatalogs(java.util.List<java.lang.String> associatedCatalogs)
Set the associatedCatalogs.CreateEngineOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.CreateEngineOptions
build()
Builds a CreateEngineOptions.CreateEngineOptions.Builder
description(java.lang.String description)
Set the description.CreateEngineOptions.Builder
engineDetails(EngineDetailsBody engineDetails)
Set the engineDetails.CreateEngineOptions.Builder
engineDisplayName(java.lang.String engineDisplayName)
Set the engineDisplayName.CreateEngineOptions.Builder
firstTimeUse(java.lang.Boolean firstTimeUse)
Set the firstTimeUse.CreateEngineOptions.Builder
origin(java.lang.String origin)
Set the origin.CreateEngineOptions.Builder
region(java.lang.String region)
Set the region.CreateEngineOptions.Builder
type(java.lang.String type)
Set the type.CreateEngineOptions.Builder
version(java.lang.String version)
Set the version.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String version, EngineDetailsBody engineDetails, java.lang.String origin, java.lang.String type)
Instantiates a new builder with required properties.- Parameters:
version
- the versionengineDetails
- the engineDetailsorigin
- the origintype
- the type
-
-
Method Detail
-
build
public CreateEngineOptions build()
Builds a CreateEngineOptions.- Returns:
- the new CreateEngineOptions instance
-
addAssociatedCatalogs
public CreateEngineOptions.Builder addAssociatedCatalogs(java.lang.String associatedCatalogs)
Adds an associatedCatalogs to associatedCatalogs.- Parameters:
associatedCatalogs
- the new associatedCatalogs- Returns:
- the CreateEngineOptions builder
-
version
public CreateEngineOptions.Builder version(java.lang.String version)
Set the version.- Parameters:
version
- the version- Returns:
- the CreateEngineOptions builder
-
engineDetails
public CreateEngineOptions.Builder engineDetails(EngineDetailsBody engineDetails)
Set the engineDetails.- Parameters:
engineDetails
- the engineDetails- Returns:
- the CreateEngineOptions builder
-
origin
public CreateEngineOptions.Builder origin(java.lang.String origin)
Set the origin.- Parameters:
origin
- the origin- Returns:
- the CreateEngineOptions builder
-
type
public CreateEngineOptions.Builder type(java.lang.String type)
Set the type.- Parameters:
type
- the type- Returns:
- the CreateEngineOptions builder
-
accept
public CreateEngineOptions.Builder accept(java.lang.String accept)
Set the accept.- Parameters:
accept
- the accept- Returns:
- the CreateEngineOptions builder
-
description
public CreateEngineOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description
- the description- Returns:
- the CreateEngineOptions builder
-
engineDisplayName
public CreateEngineOptions.Builder engineDisplayName(java.lang.String engineDisplayName)
Set the engineDisplayName.- Parameters:
engineDisplayName
- the engineDisplayName- Returns:
- the CreateEngineOptions builder
-
firstTimeUse
public CreateEngineOptions.Builder firstTimeUse(java.lang.Boolean firstTimeUse)
Set the firstTimeUse.- Parameters:
firstTimeUse
- the firstTimeUse- Returns:
- the CreateEngineOptions builder
-
region
public CreateEngineOptions.Builder region(java.lang.String region)
Set the region.- Parameters:
region
- the region- Returns:
- the CreateEngineOptions builder
-
associatedCatalogs
public CreateEngineOptions.Builder associatedCatalogs(java.util.List<java.lang.String> associatedCatalogs)
Set the associatedCatalogs. Existing associatedCatalogs will be replaced.- Parameters:
associatedCatalogs
- the associatedCatalogs- Returns:
- the CreateEngineOptions builder
-
authInstanceId
public CreateEngineOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the CreateEngineOptions builder
-
-