Class CreateSqlJobDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.databasemanagement.model.CreateJobDetails
- 
- com.oracle.bmc.databasemanagement.model.CreateSqlJobDetails
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class CreateSqlJobDetails extends CreateJobDetailsThe details specific to the SQL job request.
 Note: Objects should always be created or deserialized using theCreateSqlJobDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theCreateSqlJobDetails.Builder, which maintain a set of all explicitly set fields calledCreateSqlJobDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCreateSqlJobDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description CreateSqlJobDetails(String name, String description, String compartmentId, String managedDatabaseGroupId, String managedDatabaseId, DatabaseSubType databaseSubType, Job.ScheduleType scheduleType, String timeout, JobExecutionResultLocation resultLocation, JobScheduleDetails scheduleDetails, String sqlText, JobInBindsDetails inBinds, JobOutBindsDetails outBinds, SqlJob.SqlType sqlType, SqlJob.OperationType operationType, String userName, String password, String secretId, String namedCredentialId, SqlJob.Role role, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateSqlJobDetails.Builderbuilder()Create a new builder.booleanequals(Object o)Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.Map<String,String>getFreeformTags()Free-form tags for this resource.JobInBindsDetailsgetInBinds()StringgetNamedCredentialId()The OCID of the Named Credentials containing password secret.SqlJob.OperationTypegetOperationType()The SQL operation type.JobOutBindsDetailsgetOutBinds()StringgetPassword()The password for the database user name used to execute the SQL job.SqlJob.RolegetRole()The role of the database user.StringgetSecretId()The OCID of the secret containing the user password.StringgetSqlText()The SQL text to be executed as part of the job.SqlJob.SqlTypegetSqlType()StringgetUserName()The database user name used to execute the SQL job.inthashCode()CreateSqlJobDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.databasemanagement.model.CreateJobDetailsgetCompartmentId, getDatabaseSubType, getDescription, getManagedDatabaseGroupId, getManagedDatabaseId, getName, getResultLocation, getScheduleDetails, getScheduleType, getTimeout
 
- 
 
- 
- 
- 
Constructor Detail- 
CreateSqlJobDetails@Deprecated public CreateSqlJobDetails(String name, String description, String compartmentId, String managedDatabaseGroupId, String managedDatabaseId, DatabaseSubType databaseSubType, Job.ScheduleType scheduleType, String timeout, JobExecutionResultLocation resultLocation, JobScheduleDetails scheduleDetails, String sqlText, JobInBindsDetails inBinds, JobOutBindsDetails outBinds, SqlJob.SqlType sqlType, SqlJob.OperationType operationType, String userName, String password, String secretId, String namedCredentialId, SqlJob.Role role, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static CreateSqlJobDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic CreateSqlJobDetails.Builder toBuilder() 
 - 
getSqlTextpublic String getSqlText() The SQL text to be executed as part of the job.- Returns:
- the value
 
 - 
getInBindspublic JobInBindsDetails getInBinds() 
 - 
getOutBindspublic JobOutBindsDetails getOutBinds() 
 - 
getSqlTypepublic SqlJob.SqlType getSqlType() 
 - 
getOperationTypepublic SqlJob.OperationType getOperationType() The SQL operation type.- Returns:
- the value
 
 - 
getUserNamepublic String getUserName() 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. - Returns:
- the value
 
 - 
getPasswordpublic String getPassword() The password for the database user name used to execute the SQL job.- Returns:
- the value
 
 - 
getSecretIdpublic String getSecretId() The OCID of the secret containing the user password.- Returns:
- the value
 
 - 
getNamedCredentialIdpublic String getNamedCredentialId() The OCID of the Named Credentials containing password secret.- Returns:
- the value
 
 - 
getRolepublic SqlJob.Role getRole() The role of the database user.Indicates whether the database user is a normal user or sysdba. - Returns:
- the value
 
 - 
getFreeformTagspublic Map<String,String> getFreeformTags() 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”} - Returns:
- the value
 
 - 
getDefinedTagspublic Map<String,Map<String,Object>> getDefinedTags() Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- CreateJobDetails
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- CreateJobDetails
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- CreateJobDetails
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- CreateJobDetails
 
 
- 
 
-