public static class LoadSqlPlanBaselinesFromCursorCacheDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public LoadSqlPlanBaselinesFromCursorCacheDetails.Builder jobName(String jobName)
The name of the database job used for loading SQL plan baselines.
jobName
- the value to setpublic LoadSqlPlanBaselinesFromCursorCacheDetails.Builder jobDescription(String jobDescription)
The description of the job.
jobDescription
- the value to setpublic LoadSqlPlanBaselinesFromCursorCacheDetails.Builder sqlId(String sqlId)
The SQL statement identifier. Identifies a SQL statement in the cursor cache.
sqlId
- the value to setpublic LoadSqlPlanBaselinesFromCursorCacheDetails.Builder planHash(BigDecimal planHash)
The plan identifier. By default, all plans present in the cursor cache for the SQL
statement identified by sqlId
are captured.
planHash
- the value to setpublic LoadSqlPlanBaselinesFromCursorCacheDetails.Builder sqlText(String sqlText)
The SQL text to use in identifying the SQL plan baseline into which the plans are loaded. If the SQL plan baseline does not exist, it is created.
sqlText
- the value to setpublic LoadSqlPlanBaselinesFromCursorCacheDetails.Builder sqlHandle(String sqlHandle)
The SQL handle to use in identifying the SQL plan baseline into which the plans are loaded.
sqlHandle
- the value to setpublic LoadSqlPlanBaselinesFromCursorCacheDetails.Builder filterName(LoadSqlPlanBaselinesFromCursorCacheDetails.FilterName filterName)
The name of the filter.
- SQL_TEXT: Search pattern to apply to SQL text. - PARSING_SCHEMA_NAME: Name of the parsing schema. - MODULE: Name of the module. - ACTION: Name of the action.
filterName
- the value to setpublic LoadSqlPlanBaselinesFromCursorCacheDetails.Builder filterValue(String filterValue)
The filter value. It is upper-cased except when it is enclosed in double quotes or filter
name is SQL_TEXT
.
filterValue
- the value to setpublic LoadSqlPlanBaselinesFromCursorCacheDetails.Builder isFixed(Boolean isFixed)
Indicates whether the plans are loaded as fixed plans (true
) or non-fixed plans
(false
). By default, they are loaded as non-fixed plans.
isFixed
- the value to setpublic LoadSqlPlanBaselinesFromCursorCacheDetails.Builder isEnabled(Boolean isEnabled)
Indicates whether the loaded plans are enabled (true
) or not (false
). By
default, they are enabled.
isEnabled
- the value to setpublic LoadSqlPlanBaselinesFromCursorCacheDetails.Builder credentials(ManagedDatabaseCredential credentials)
public LoadSqlPlanBaselinesFromCursorCacheDetails.Builder databaseCredential(DatabaseCredentialDetails databaseCredential)
public LoadSqlPlanBaselinesFromCursorCacheDetails build()
public LoadSqlPlanBaselinesFromCursorCacheDetails.Builder copy(LoadSqlPlanBaselinesFromCursorCacheDetails model)
Copyright © 2016–2024. All rights reserved.