Class SqlTuningAdvisorTaskSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.SqlTuningAdvisorTaskSummary.Builder
-
- Enclosing class:
- SqlTuningAdvisorTaskSummary
public static class SqlTuningAdvisorTaskSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlTuningAdvisorTaskSummary
build()
SqlTuningAdvisorTaskSummary.Builder
copy(SqlTuningAdvisorTaskSummary model)
SqlTuningAdvisorTaskSummary.Builder
daysToExpire(Integer daysToExpire)
The number of days left before the task expires.SqlTuningAdvisorTaskSummary.Builder
description(String description)
The description of the SQL Tuning Advisor task.SqlTuningAdvisorTaskSummary.Builder
instanceId(Integer instanceId)
The instance ID of the SQL Tuning Advisor task.SqlTuningAdvisorTaskSummary.Builder
name(String name)
The name of the SQL Tuning Advisor task.SqlTuningAdvisorTaskSummary.Builder
owner(String owner)
The owner of the SQL Tuning Advisor task.SqlTuningAdvisorTaskSummary.Builder
recommendationCount(Integer recommendationCount)
The number of recommendations provided for the SQL Tuning Advisor task.SqlTuningAdvisorTaskSummary.Builder
sqlTuningAdvisorTaskId(Long sqlTuningAdvisorTaskId)
The unique identifier of the SQL Tuning Advisor task.SqlTuningAdvisorTaskSummary.Builder
taskStatus(SqlTuningTaskStatusTypes taskStatus)
The status of the SQL Tuning Advisor task.SqlTuningAdvisorTaskSummary.Builder
timeCreated(Date timeCreated)
The Creation date of the SQL Tuning Advisor task.SqlTuningAdvisorTaskSummary.Builder
timeExecutionEnded(Date timeExecutionEnded)
The end time of the task execution.SqlTuningAdvisorTaskSummary.Builder
timeExecutionStarted(Date timeExecutionStarted)
The start time of the task execution.SqlTuningAdvisorTaskSummary.Builder
totalSqlStatements(Integer totalSqlStatements)
The total number of SQL statements related to the SQL Tuning Advisor task.
-
-
-
Method Detail
-
sqlTuningAdvisorTaskId
public SqlTuningAdvisorTaskSummary.Builder sqlTuningAdvisorTaskId(Long sqlTuningAdvisorTaskId)
The unique identifier of the SQL Tuning Advisor task.This is not the OCID.
- Parameters:
sqlTuningAdvisorTaskId
- the value to set- Returns:
- this builder
-
instanceId
public SqlTuningAdvisorTaskSummary.Builder instanceId(Integer instanceId)
The instance ID of the SQL Tuning Advisor task.This is not the OCID.
- Parameters:
instanceId
- the value to set- Returns:
- this builder
-
name
public SqlTuningAdvisorTaskSummary.Builder name(String name)
The name of the SQL Tuning Advisor task.- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public SqlTuningAdvisorTaskSummary.Builder description(String description)
The description of the SQL Tuning Advisor task.- Parameters:
description
- the value to set- Returns:
- this builder
-
owner
public SqlTuningAdvisorTaskSummary.Builder owner(String owner)
The owner of the SQL Tuning Advisor task.- Parameters:
owner
- the value to set- Returns:
- this builder
-
timeCreated
public SqlTuningAdvisorTaskSummary.Builder timeCreated(Date timeCreated)
The Creation date of the SQL Tuning Advisor task.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
taskStatus
public SqlTuningAdvisorTaskSummary.Builder taskStatus(SqlTuningTaskStatusTypes taskStatus)
The status of the SQL Tuning Advisor task.- Parameters:
taskStatus
- the value to set- Returns:
- this builder
-
daysToExpire
public SqlTuningAdvisorTaskSummary.Builder daysToExpire(Integer daysToExpire)
The number of days left before the task expires.If the value equals -1, then the task has no expiration time (UNLIMITED).
- Parameters:
daysToExpire
- the value to set- Returns:
- this builder
-
timeExecutionStarted
public SqlTuningAdvisorTaskSummary.Builder timeExecutionStarted(Date timeExecutionStarted)
The start time of the task execution.- Parameters:
timeExecutionStarted
- the value to set- Returns:
- this builder
-
timeExecutionEnded
public SqlTuningAdvisorTaskSummary.Builder timeExecutionEnded(Date timeExecutionEnded)
The end time of the task execution.- Parameters:
timeExecutionEnded
- the value to set- Returns:
- this builder
-
totalSqlStatements
public SqlTuningAdvisorTaskSummary.Builder totalSqlStatements(Integer totalSqlStatements)
The total number of SQL statements related to the SQL Tuning Advisor task.- Parameters:
totalSqlStatements
- the value to set- Returns:
- this builder
-
recommendationCount
public SqlTuningAdvisorTaskSummary.Builder recommendationCount(Integer recommendationCount)
The number of recommendations provided for the SQL Tuning Advisor task.- Parameters:
recommendationCount
- the value to set- Returns:
- this builder
-
build
public SqlTuningAdvisorTaskSummary build()
-
copy
public SqlTuningAdvisorTaskSummary.Builder copy(SqlTuningAdvisorTaskSummary model)
-
-