Class SqlInSqlTuningSet.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.SqlInSqlTuningSet.Builder
-
- Enclosing class:
- SqlInSqlTuningSet
public static class SqlInSqlTuningSet.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlInSqlTuningSet
build()
SqlInSqlTuningSet.Builder
containerDatabaseId(Long containerDatabaseId)
The unique container database identifier.SqlInSqlTuningSet.Builder
copy(SqlInSqlTuningSet model)
SqlInSqlTuningSet.Builder
metrics(List<SqlMetrics> metrics)
A list of the Sqls associated with the Sql tuning set.SqlInSqlTuningSet.Builder
module(String module)
The module of the Sql.SqlInSqlTuningSet.Builder
planHashValue(Long planHashValue)
Plan hash value of the Sql statement.SqlInSqlTuningSet.Builder
schema(String schema)
The schema name of the Sql.SqlInSqlTuningSet.Builder
sqlId(String sqlId)
The unique Sql identifier.SqlInSqlTuningSet.Builder
sqlText(String sqlText)
Sql text.
-
-
-
Method Detail
-
sqlId
public SqlInSqlTuningSet.Builder sqlId(String sqlId)
The unique Sql identifier.- Parameters:
sqlId
- the value to set- Returns:
- this builder
-
sqlText
public SqlInSqlTuningSet.Builder sqlText(String sqlText)
Sql text.- Parameters:
sqlText
- the value to set- Returns:
- this builder
-
containerDatabaseId
public SqlInSqlTuningSet.Builder containerDatabaseId(Long containerDatabaseId)
The unique container database identifier.- Parameters:
containerDatabaseId
- the value to set- Returns:
- this builder
-
planHashValue
public SqlInSqlTuningSet.Builder planHashValue(Long planHashValue)
Plan hash value of the Sql statement.- Parameters:
planHashValue
- the value to set- Returns:
- this builder
-
schema
public SqlInSqlTuningSet.Builder schema(String schema)
The schema name of the Sql.- Parameters:
schema
- the value to set- Returns:
- this builder
-
module
public SqlInSqlTuningSet.Builder module(String module)
The module of the Sql.- Parameters:
module
- the value to set- Returns:
- this builder
-
metrics
public SqlInSqlTuningSet.Builder metrics(List<SqlMetrics> metrics)
A list of the Sqls associated with the Sql tuning set.- Parameters:
metrics
- the value to set- Returns:
- this builder
-
build
public SqlInSqlTuningSet build()
-
copy
public SqlInSqlTuningSet.Builder copy(SqlInSqlTuningSet model)
-
-