Class SqlTuningSetSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.SqlTuningSetSummary.Builder
-
- Enclosing class:
- SqlTuningSetSummary
public static class SqlTuningSetSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlTuningSetSummarybuild()SqlTuningSetSummary.Buildercopy(SqlTuningSetSummary model)SqlTuningSetSummary.Builderdescription(String description)The description of the SQL tuning set.SqlTuningSetSummary.BuildererrorMessage(String errorMessage)Latest execution error of the plsql that was submitted as a scheduler job.SqlTuningSetSummary.Builderid(Integer id)The unique Sql tuning set identifier.SqlTuningSetSummary.Buildername(String name)The name of the SQL tuning set.SqlTuningSetSummary.Builderowner(String owner)The owner of the SQL tuning set.SqlTuningSetSummary.BuilderscheduledJobName(String scheduledJobName)Name of the Sql tuning set scheduler job.SqlTuningSetSummary.BuilderstatementCounts(Integer statementCounts)The number of SQL statements in the SQL tuning set.SqlTuningSetSummary.Builderstatus(SqlTuningSetStatusTypes status)Current status of the Sql tuning set.SqlTuningSetSummary.BuildertimeCreated(Date timeCreated)The created time of the Sql tuning set.SqlTuningSetSummary.BuildertimeLastModified(Date timeLastModified)Last modified time of the Sql tuning set.
-
-
-
Method Detail
-
name
public SqlTuningSetSummary.Builder name(String name)
The name of the SQL tuning set.- Parameters:
name- the value to set- Returns:
- this builder
-
owner
public SqlTuningSetSummary.Builder owner(String owner)
The owner of the SQL tuning set.- Parameters:
owner- the value to set- Returns:
- this builder
-
description
public SqlTuningSetSummary.Builder description(String description)
The description of the SQL tuning set.- Parameters:
description- the value to set- Returns:
- this builder
-
statementCounts
public SqlTuningSetSummary.Builder statementCounts(Integer statementCounts)
The number of SQL statements in the SQL tuning set.- Parameters:
statementCounts- the value to set- Returns:
- this builder
-
id
public SqlTuningSetSummary.Builder id(Integer id)
The unique Sql tuning set identifier.This is not OCID.
- Parameters:
id- the value to set- Returns:
- this builder
-
timeCreated
public SqlTuningSetSummary.Builder timeCreated(Date timeCreated)
The created time of the Sql tuning set.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeLastModified
public SqlTuningSetSummary.Builder timeLastModified(Date timeLastModified)
Last modified time of the Sql tuning set.- Parameters:
timeLastModified- the value to set- Returns:
- this builder
-
status
public SqlTuningSetSummary.Builder status(SqlTuningSetStatusTypes status)
Current status of the Sql tuning set.- Parameters:
status- the value to set- Returns:
- this builder
-
scheduledJobName
public SqlTuningSetSummary.Builder scheduledJobName(String scheduledJobName)
Name of the Sql tuning set scheduler job.- Parameters:
scheduledJobName- the value to set- Returns:
- this builder
-
errorMessage
public SqlTuningSetSummary.Builder errorMessage(String errorMessage)
Latest execution error of the plsql that was submitted as a scheduler job.- Parameters:
errorMessage- the value to set- Returns:
- this builder
-
build
public SqlTuningSetSummary build()
-
copy
public SqlTuningSetSummary.Builder copy(SqlTuningSetSummary model)
-
-