Class CreateIntegrationOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.CreateIntegrationOptions.Builder
-
- Enclosing class:
- CreateIntegrationOptions
public static class CreateIntegrationOptions.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 CreateIntegrationOptions.Builder
addStorageCatalogs(java.lang.String storageCatalogs)
Adds a new element to storageCatalogs.CreateIntegrationOptions.Builder
apikey(java.lang.String apikey)
Set the apikey.CreateIntegrationOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.CreateIntegrationOptions
build()
Builds a CreateIntegrationOptions.CreateIntegrationOptions.Builder
enableDataPolicyWithinWxd(java.lang.Boolean enableDataPolicyWithinWxd)
Set the enableDataPolicyWithinWxd.CreateIntegrationOptions.Builder
password(java.lang.String password)
Set the password.CreateIntegrationOptions.Builder
resource(java.lang.String resource)
Set the resource.CreateIntegrationOptions.Builder
serviceType(java.lang.String serviceType)
Set the serviceType.CreateIntegrationOptions.Builder
storageCatalogs(java.util.List<java.lang.String> storageCatalogs)
Set the storageCatalogs.CreateIntegrationOptions.Builder
url(java.lang.String url)
Set the url.CreateIntegrationOptions.Builder
username(java.lang.String username)
Set the username.
-
-
-
Method Detail
-
build
public CreateIntegrationOptions build()
Builds a CreateIntegrationOptions.- Returns:
- the new CreateIntegrationOptions instance
-
addStorageCatalogs
public CreateIntegrationOptions.Builder addStorageCatalogs(java.lang.String storageCatalogs)
Adds a new element to storageCatalogs.- Parameters:
storageCatalogs
- the new element to be added- Returns:
- the CreateIntegrationOptions builder
-
apikey
public CreateIntegrationOptions.Builder apikey(java.lang.String apikey)
Set the apikey.- Parameters:
apikey
- the apikey- Returns:
- the CreateIntegrationOptions builder
-
enableDataPolicyWithinWxd
public CreateIntegrationOptions.Builder enableDataPolicyWithinWxd(java.lang.Boolean enableDataPolicyWithinWxd)
Set the enableDataPolicyWithinWxd.- Parameters:
enableDataPolicyWithinWxd
- the enableDataPolicyWithinWxd- Returns:
- the CreateIntegrationOptions builder
-
password
public CreateIntegrationOptions.Builder password(java.lang.String password)
Set the password.- Parameters:
password
- the password- Returns:
- the CreateIntegrationOptions builder
-
resource
public CreateIntegrationOptions.Builder resource(java.lang.String resource)
Set the resource.- Parameters:
resource
- the resource- Returns:
- the CreateIntegrationOptions builder
-
serviceType
public CreateIntegrationOptions.Builder serviceType(java.lang.String serviceType)
Set the serviceType.- Parameters:
serviceType
- the serviceType- Returns:
- the CreateIntegrationOptions builder
-
storageCatalogs
public CreateIntegrationOptions.Builder storageCatalogs(java.util.List<java.lang.String> storageCatalogs)
Set the storageCatalogs. Existing storageCatalogs will be replaced.- Parameters:
storageCatalogs
- the storageCatalogs- Returns:
- the CreateIntegrationOptions builder
-
url
public CreateIntegrationOptions.Builder url(java.lang.String url)
Set the url.- Parameters:
url
- the url- Returns:
- the CreateIntegrationOptions builder
-
username
public CreateIntegrationOptions.Builder username(java.lang.String username)
Set the username.- Parameters:
username
- the username- Returns:
- the CreateIntegrationOptions builder
-
authInstanceId
public CreateIntegrationOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the CreateIntegrationOptions builder
-
-