public static class UpdateSqlJobDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateSqlJobDetails.Builder description(String description)
public UpdateSqlJobDetails.Builder timeout(String timeout)
public UpdateSqlJobDetails.Builder resultLocation(JobExecutionResultLocation resultLocation)
public UpdateSqlJobDetails.Builder scheduleDetails(JobScheduleDetails scheduleDetails)
public UpdateSqlJobDetails.Builder sqlText(String sqlText)
The SQL text to be executed as part of the job.
sqlText
- the value to setpublic UpdateSqlJobDetails.Builder inBinds(JobInBindsDetails inBinds)
public UpdateSqlJobDetails.Builder outBinds(JobOutBindsDetails outBinds)
public UpdateSqlJobDetails.Builder sqlType(SqlJob.SqlType sqlType)
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.
userName
- the value to setpublic UpdateSqlJobDetails.Builder password(String password)
The password for the database user name used to execute the SQL job.
password
- the value to setpublic UpdateSqlJobDetails.Builder secretId(String secretId)
The OCID of the secret containing the user password.
secretId
- the value to setpublic UpdateSqlJobDetails.Builder namedCredentialId(String namedCredentialId)
The OCID of the Named Credentials containing password secret.
namedCredentialId
- the value to setpublic UpdateSqlJobDetails.Builder role(SqlJob.Role role)
The role of the database user. Indicates whether the database user is a normal user or sysdba.
role
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic UpdateSqlJobDetails build()
public UpdateSqlJobDetails.Builder copy(UpdateSqlJobDetails model)
Copyright © 2016–2024. All rights reserved.