public static class CreateSqlJobDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateSqlJobDetails.Builder name(String name)
public CreateSqlJobDetails.Builder description(String description)
public CreateSqlJobDetails.Builder compartmentId(String compartmentId)
public CreateSqlJobDetails.Builder managedDatabaseGroupId(String managedDatabaseGroupId)
public CreateSqlJobDetails.Builder managedDatabaseId(String managedDatabaseId)
public CreateSqlJobDetails.Builder databaseSubType(DatabaseSubType databaseSubType)
public CreateSqlJobDetails.Builder scheduleType(Job.ScheduleType scheduleType)
public CreateSqlJobDetails.Builder timeout(String timeout)
public CreateSqlJobDetails.Builder resultLocation(JobExecutionResultLocation resultLocation)
public CreateSqlJobDetails.Builder scheduleDetails(JobScheduleDetails scheduleDetails)
public CreateSqlJobDetails.Builder sqlText(String sqlText)
The SQL text to be executed as part of the job.
sqlText
- the value to setpublic CreateSqlJobDetails.Builder inBinds(JobInBindsDetails inBinds)
public CreateSqlJobDetails.Builder outBinds(JobOutBindsDetails outBinds)
public CreateSqlJobDetails.Builder sqlType(SqlJob.SqlType sqlType)
public CreateSqlJobDetails.Builder operationType(SqlJob.OperationType operationType)
The SQL operation type.
operationType
- the value to setpublic CreateSqlJobDetails.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 CreateSqlJobDetails.Builder password(String password)
The password for the database user name used to execute the SQL job.
password
- the value to setpublic CreateSqlJobDetails.Builder secretId(String secretId)
The OCID of the secret containing the user password.
secretId
- the value to setpublic CreateSqlJobDetails.Builder namedCredentialId(String namedCredentialId)
The OCID of the Named Credentials containing password secret.
namedCredentialId
- the value to setpublic CreateSqlJobDetails.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 CreateSqlJobDetails.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 CreateSqlJobDetails.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 CreateSqlJobDetails build()
public CreateSqlJobDetails.Builder copy(CreateSqlJobDetails model)
Copyright © 2016–2024. All rights reserved.