Class SqlTuningSetAdminActionStatus.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.SqlTuningSetAdminActionStatus.Builder
-
- Enclosing class:
- SqlTuningSetAdminActionStatus
public static class SqlTuningSetAdminActionStatus.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlTuningSetAdminActionStatusbuild()SqlTuningSetAdminActionStatus.Buildercopy(SqlTuningSetAdminActionStatus model)SqlTuningSetAdminActionStatus.BuildererrorCode(Integer errorCode)The error code that denotes failure if the Sql tuning set admin action is not successful.SqlTuningSetAdminActionStatus.BuildererrorMessage(String errorMessage)The error message that indicates the reason for failure if the Sql tuning set admin action is not successful.SqlTuningSetAdminActionStatus.BuildershowSqlOnly(Integer showSqlOnly)Flag to indicate whether to create the Sql tuning set or just display the plsql used for the selected user action.SqlTuningSetAdminActionStatus.BuildersqlStatement(String sqlStatement)When showSqlOnly is set to 1, this attribute displays the plsql generated for the selected user action.SqlTuningSetAdminActionStatus.Builderstatus(SqlTuningSetAdminActionStatus.Status status)The status of a Sql tuning set admin action.SqlTuningSetAdminActionStatus.BuildersuccessMessage(String successMessage)The success message of the Sql tuning set admin action.
-
-
-
Method Detail
-
status
public SqlTuningSetAdminActionStatus.Builder status(SqlTuningSetAdminActionStatus.Status status)
The status of a Sql tuning set admin action.- Parameters:
status- the value to set- Returns:
- this builder
-
successMessage
public SqlTuningSetAdminActionStatus.Builder successMessage(String successMessage)
The success message of the Sql tuning set admin action.The success message is “null” if the admin action is non successful.
- Parameters:
successMessage- the value to set- Returns:
- this builder
-
errorCode
public SqlTuningSetAdminActionStatus.Builder errorCode(Integer errorCode)
The error code that denotes failure if the Sql tuning set admin action is not successful.The error code is “null” if the admin action is successful.
- Parameters:
errorCode- the value to set- Returns:
- this builder
-
errorMessage
public SqlTuningSetAdminActionStatus.Builder errorMessage(String errorMessage)
The error message that indicates the reason for failure if the Sql tuning set admin action is not successful.The error message is “null” if the admin action is successful.
- Parameters:
errorMessage- the value to set- Returns:
- this builder
-
showSqlOnly
public SqlTuningSetAdminActionStatus.Builder showSqlOnly(Integer showSqlOnly)
Flag to indicate whether to create the Sql tuning set or just display the plsql used for the selected user action.- Parameters:
showSqlOnly- the value to set- Returns:
- this builder
-
sqlStatement
public SqlTuningSetAdminActionStatus.Builder sqlStatement(String sqlStatement)
When showSqlOnly is set to 1, this attribute displays the plsql generated for the selected user action.When showSqlOnly is set to 0, this attribute will not be returned.
- Parameters:
sqlStatement- the value to set- Returns:
- this builder
-
build
public SqlTuningSetAdminActionStatus build()
-
copy
public SqlTuningSetAdminActionStatus.Builder copy(SqlTuningSetAdminActionStatus model)
-
-