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.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateIntegrationOptions.BuilderaddStorageCatalogs(java.lang.String storageCatalogs)Adds a new element to storageCatalogs.CreateIntegrationOptions.Builderapikey(java.lang.String apikey)Set the apikey.CreateIntegrationOptions.BuilderauthInstanceId(java.lang.String authInstanceId)Set the authInstanceId.CreateIntegrationOptionsbuild()Builds a CreateIntegrationOptions.CreateIntegrationOptions.BuilderenableDataPolicyWithinWxd(java.lang.Boolean enableDataPolicyWithinWxd)Set the enableDataPolicyWithinWxd.CreateIntegrationOptions.Builderpassword(java.lang.String password)Set the password.CreateIntegrationOptions.Builderresource(java.lang.String resource)Set the resource.CreateIntegrationOptions.BuilderserviceType(java.lang.String serviceType)Set the serviceType.CreateIntegrationOptions.BuilderstorageCatalogs(java.util.List<java.lang.String> storageCatalogs)Set the storageCatalogs.CreateIntegrationOptions.Builderurl(java.lang.String url)Set the url.CreateIntegrationOptions.Builderusername(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
-
-