@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class SpmEvolveTaskParameters extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The set of parameters used in an SPM evolve task.
Note: Objects should always be created or deserialized using the SpmEvolveTaskParameters.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the SpmEvolveTaskParameters.Builder
, which maintain a
set of all explicitly set fields called SpmEvolveTaskParameters.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SpmEvolveTaskParameters.AlternatePlanBaselines |
static class |
SpmEvolveTaskParameters.AlternatePlanSources |
static class |
SpmEvolveTaskParameters.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SpmEvolveTaskParameters(List<SpmEvolveTaskParameters.AlternatePlanSources> alternatePlanSources,
List<SpmEvolveTaskParameters.AlternatePlanBaselines> alternatePlanBaselines,
Integer alternatePlanLimit,
Boolean arePlansAutoAccepted,
Integer allowedTimeLimit)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SpmEvolveTaskParameters.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getAllowedTimeLimit()
The global time limit in seconds.
|
List<SpmEvolveTaskParameters.AlternatePlanBaselines> |
getAlternatePlanBaselines()
Determines which alternative plans should be loaded.
|
Integer |
getAlternatePlanLimit()
Specifies the maximum number of plans to load in total (that is, not the limit for each SQL
statement).
|
List<SpmEvolveTaskParameters.AlternatePlanSources> |
getAlternatePlanSources()
Determines which sources to search for additional plans.
|
Boolean |
getArePlansAutoAccepted()
Specifies whether to accept recommended plans automatically.
|
int |
hashCode() |
SpmEvolveTaskParameters.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"alternatePlanSources","alternatePlanBaselines","alternatePlanLimit","arePlansAutoAccepted","allowedTimeLimit"}) public SpmEvolveTaskParameters(List<SpmEvolveTaskParameters.AlternatePlanSources> alternatePlanSources, List<SpmEvolveTaskParameters.AlternatePlanBaselines> alternatePlanBaselines, Integer alternatePlanLimit, Boolean arePlansAutoAccepted, Integer allowedTimeLimit)
public static SpmEvolveTaskParameters.Builder builder()
Create a new builder.
public SpmEvolveTaskParameters.Builder toBuilder()
public List<SpmEvolveTaskParameters.AlternatePlanSources> getAlternatePlanSources()
Determines which sources to search for additional plans.
public List<SpmEvolveTaskParameters.AlternatePlanBaselines> getAlternatePlanBaselines()
Determines which alternative plans should be loaded.
public Integer getAlternatePlanLimit()
Specifies the maximum number of plans to load in total (that is, not the limit for each SQL
statement). A value of zero indicates UNLIMITED
number of plans.
public Boolean getArePlansAutoAccepted()
Specifies whether to accept recommended plans automatically.
public Integer getAllowedTimeLimit()
The global time limit in seconds. This is the total time allowed for the task.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.