Class ContractServer.Builder
- java.lang.Object
-
- com.ibm.cloud.dph_services.dph.v1.model.ContractServer.Builder
-
- Enclosing class:
- ContractServer
public static class ContractServer.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContractServer.Builderaccount(java.lang.String account)Set the account.ContractServer.BuilderaddCustomProperties(ContractTemplateCustomProperty customProperties)Adds a new element to customProperties.ContractServer.BuilderaddRoles(java.lang.String roles)Adds a new element to roles.ContractServer.Builderasset(ContractAsset asset)Set the asset.ContractServerbuild()Builds a ContractServer.ContractServer.Buildercatalog(java.lang.String catalog)Set the catalog.ContractServer.BuilderconnectionId(java.lang.String connectionId)Set the connectionId.ContractServer.BuildercustomProperties(java.util.List<ContractTemplateCustomProperty> customProperties)Set the customProperties.ContractServer.Builderdatabase(java.lang.String database)Set the database.ContractServer.Builderdataset(java.lang.String dataset)Set the dataset.ContractServer.Builderdelimiter(java.lang.String delimiter)Set the delimiter.ContractServer.Builderdescription(java.lang.String description)Set the description.ContractServer.BuilderendpointUrl(java.lang.String endpointUrl)Set the endpointUrl.ContractServer.Builderenvironment(java.lang.String environment)Set the environment.ContractServer.Builderformat(java.lang.String format)Set the format.ContractServer.Builderhost(java.lang.String host)Set the host.ContractServer.Builderlocation(java.lang.String location)Set the location.ContractServer.Builderpath(java.lang.String path)Set the path.ContractServer.Builderport(java.lang.String port)Set the port.ContractServer.Builderproject(java.lang.String project)Set the project.ContractServer.Builderregion(java.lang.String region)Set the region.ContractServer.BuilderregionName(java.lang.String regionName)Set the regionName.ContractServer.Builderroles(java.util.List<java.lang.String> roles)Set the roles.ContractServer.Builderschema(java.lang.String schema)Set the schema.ContractServer.Builderserver(java.lang.String server)Set the server.ContractServer.BuilderserviceName(java.lang.String serviceName)Set the serviceName.ContractServer.BuilderstagingDir(java.lang.String stagingDir)Set the stagingDir.ContractServer.Builderstream(java.lang.String stream)Set the stream.ContractServer.Buildertype(java.lang.String type)Set the type.ContractServer.Builderwarehouse(java.lang.String warehouse)Set the warehouse.
-
-
-
Method Detail
-
build
public ContractServer build()
Builds a ContractServer.- Returns:
- the new ContractServer instance
-
addRoles
public ContractServer.Builder addRoles(java.lang.String roles)
Adds a new element to roles.- Parameters:
roles- the new element to be added- Returns:
- the ContractServer builder
-
addCustomProperties
public ContractServer.Builder addCustomProperties(ContractTemplateCustomProperty customProperties)
Adds a new element to customProperties.- Parameters:
customProperties- the new element to be added- Returns:
- the ContractServer builder
-
server
public ContractServer.Builder server(java.lang.String server)
Set the server.- Parameters:
server- the server- Returns:
- the ContractServer builder
-
asset
public ContractServer.Builder asset(ContractAsset asset)
Set the asset.- Parameters:
asset- the asset- Returns:
- the ContractServer builder
-
connectionId
public ContractServer.Builder connectionId(java.lang.String connectionId)
Set the connectionId.- Parameters:
connectionId- the connectionId- Returns:
- the ContractServer builder
-
type
public ContractServer.Builder type(java.lang.String type)
Set the type.- Parameters:
type- the type- Returns:
- the ContractServer builder
-
description
public ContractServer.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the ContractServer builder
-
environment
public ContractServer.Builder environment(java.lang.String environment)
Set the environment.- Parameters:
environment- the environment- Returns:
- the ContractServer builder
-
account
public ContractServer.Builder account(java.lang.String account)
Set the account.- Parameters:
account- the account- Returns:
- the ContractServer builder
-
catalog
public ContractServer.Builder catalog(java.lang.String catalog)
Set the catalog.- Parameters:
catalog- the catalog- Returns:
- the ContractServer builder
-
database
public ContractServer.Builder database(java.lang.String database)
Set the database.- Parameters:
database- the database- Returns:
- the ContractServer builder
-
dataset
public ContractServer.Builder dataset(java.lang.String dataset)
Set the dataset.- Parameters:
dataset- the dataset- Returns:
- the ContractServer builder
-
delimiter
public ContractServer.Builder delimiter(java.lang.String delimiter)
Set the delimiter.- Parameters:
delimiter- the delimiter- Returns:
- the ContractServer builder
-
endpointUrl
public ContractServer.Builder endpointUrl(java.lang.String endpointUrl)
Set the endpointUrl.- Parameters:
endpointUrl- the endpointUrl- Returns:
- the ContractServer builder
-
format
public ContractServer.Builder format(java.lang.String format)
Set the format.- Parameters:
format- the format- Returns:
- the ContractServer builder
-
host
public ContractServer.Builder host(java.lang.String host)
Set the host.- Parameters:
host- the host- Returns:
- the ContractServer builder
-
location
public ContractServer.Builder location(java.lang.String location)
Set the location.- Parameters:
location- the location- Returns:
- the ContractServer builder
-
path
public ContractServer.Builder path(java.lang.String path)
Set the path.- Parameters:
path- the path- Returns:
- the ContractServer builder
-
port
public ContractServer.Builder port(java.lang.String port)
Set the port.- Parameters:
port- the port- Returns:
- the ContractServer builder
-
project
public ContractServer.Builder project(java.lang.String project)
Set the project.- Parameters:
project- the project- Returns:
- the ContractServer builder
-
region
public ContractServer.Builder region(java.lang.String region)
Set the region.- Parameters:
region- the region- Returns:
- the ContractServer builder
-
regionName
public ContractServer.Builder regionName(java.lang.String regionName)
Set the regionName.- Parameters:
regionName- the regionName- Returns:
- the ContractServer builder
-
schema
public ContractServer.Builder schema(java.lang.String schema)
Set the schema.- Parameters:
schema- the schema- Returns:
- the ContractServer builder
-
serviceName
public ContractServer.Builder serviceName(java.lang.String serviceName)
Set the serviceName.- Parameters:
serviceName- the serviceName- Returns:
- the ContractServer builder
-
stagingDir
public ContractServer.Builder stagingDir(java.lang.String stagingDir)
Set the stagingDir.- Parameters:
stagingDir- the stagingDir- Returns:
- the ContractServer builder
-
stream
public ContractServer.Builder stream(java.lang.String stream)
Set the stream.- Parameters:
stream- the stream- Returns:
- the ContractServer builder
-
warehouse
public ContractServer.Builder warehouse(java.lang.String warehouse)
Set the warehouse.- Parameters:
warehouse- the warehouse- Returns:
- the ContractServer builder
-
roles
public ContractServer.Builder roles(java.util.List<java.lang.String> roles)
Set the roles. Existing roles will be replaced.- Parameters:
roles- the roles- Returns:
- the ContractServer builder
-
customProperties
public ContractServer.Builder customProperties(java.util.List<ContractTemplateCustomProperty> customProperties)
Set the customProperties. Existing customProperties will be replaced.- Parameters:
customProperties- the customProperties- Returns:
- the ContractServer builder
-
-