Class UpdateSqlJobDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.UpdateSqlJobDetails.Builder
-
- Enclosing class:
- UpdateSqlJobDetails
public static class UpdateSqlJobDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
description
public UpdateSqlJobDetails.Builder description(String description)
-
timeout
public UpdateSqlJobDetails.Builder timeout(String timeout)
-
resultLocation
public UpdateSqlJobDetails.Builder resultLocation(JobExecutionResultLocation resultLocation)
-
scheduleDetails
public UpdateSqlJobDetails.Builder scheduleDetails(JobScheduleDetails scheduleDetails)
-
sqlText
public UpdateSqlJobDetails.Builder sqlText(String sqlText)
The SQL text to be executed as part of the job.- Parameters:
sqlText
- the value to set- Returns:
- this builder
-
inBinds
public UpdateSqlJobDetails.Builder inBinds(JobInBindsDetails inBinds)
-
outBinds
public UpdateSqlJobDetails.Builder outBinds(JobOutBindsDetails outBinds)
-
sqlType
public UpdateSqlJobDetails.Builder sqlType(SqlJob.SqlType sqlType)
-
userName
public UpdateSqlJobDetails.Builder userName(String userName)
The database user name used to execute the SQL job.If the job is being executed on a Managed Database Group, then the user name should exist on all the databases in the group with the same password.
- Parameters:
userName
- the value to set- Returns:
- this builder
-
password
public UpdateSqlJobDetails.Builder password(String password)
The password for the database user name used to execute the SQL job.- Parameters:
password
- the value to set- Returns:
- this builder
-
secretId
public UpdateSqlJobDetails.Builder secretId(String secretId)
The OCID of the secret containing the user password.- Parameters:
secretId
- the value to set- Returns:
- this builder
-
namedCredentialId
public UpdateSqlJobDetails.Builder namedCredentialId(String namedCredentialId)
The OCID of the Named Credentials containing password secret.- Parameters:
namedCredentialId
- the value to set- Returns:
- this builder
-
role
public UpdateSqlJobDetails.Builder role(SqlJob.Role role)
The role of the database user.Indicates whether the database user is a normal user or sysdba.
- Parameters:
role
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateSqlJobDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UpdateSqlJobDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public UpdateSqlJobDetails build()
-
copy
public UpdateSqlJobDetails.Builder copy(UpdateSqlJobDetails model)
-
-