public static class ChangeSqlPlanBaselinesAttributesDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public ChangeSqlPlanBaselinesAttributesDetails.Builder sqlHandle(String sqlHandle)
The SQL statement handle. It identifies plans associated with a SQL statement for
attribute changes. If null
then planName
must be specified.
sqlHandle
- the value to setpublic ChangeSqlPlanBaselinesAttributesDetails.Builder planName(String planName)
Then plan name. It identifies a specific plan. If null' then all plans associated
with a SQL statement identified by
sqlHandle’ are considered for attribute changes.
planName
- the value to setpublic ChangeSqlPlanBaselinesAttributesDetails.Builder isEnabled(Boolean isEnabled)
Indicates whether the plan is available for use by the optimizer.
isEnabled
- the value to setpublic ChangeSqlPlanBaselinesAttributesDetails.Builder isFixed(Boolean isFixed)
Indicates whether the plan baseline is fixed. A fixed plan takes precedence over a non-fixed plan.
isFixed
- the value to setpublic ChangeSqlPlanBaselinesAttributesDetails.Builder isAutoPurged(Boolean isAutoPurged)
Indicates whether the plan is purged if it is not used for a time period.
isAutoPurged
- the value to setpublic ChangeSqlPlanBaselinesAttributesDetails.Builder credentials(ManagedDatabaseCredential credentials)
public ChangeSqlPlanBaselinesAttributesDetails.Builder databaseCredential(DatabaseCredentialDetails databaseCredential)
public ChangeSqlPlanBaselinesAttributesDetails build()
public ChangeSqlPlanBaselinesAttributesDetails.Builder copy(ChangeSqlPlanBaselinesAttributesDetails model)
Copyright © 2016–2024. All rights reserved.