Class SpmEvolveTaskParameters
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.SpmEvolveTaskParameters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class SpmEvolveTaskParameters extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe set of parameters used in an SPM evolve task.
Note: Objects should always be created or deserialized using theSpmEvolveTaskParameters.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 theSpmEvolveTaskParameters.Builder, which maintain a set of all explicitly set fields calledSpmEvolveTaskParameters.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpmEvolveTaskParameters.AlternatePlanBaselinesstatic classSpmEvolveTaskParameters.AlternatePlanSourcesstatic classSpmEvolveTaskParameters.Builder
-
Constructor Summary
Constructors Constructor Description SpmEvolveTaskParameters(List<SpmEvolveTaskParameters.AlternatePlanSources> alternatePlanSources, List<SpmEvolveTaskParameters.AlternatePlanBaselines> alternatePlanBaselines, Integer alternatePlanLimit, Boolean arePlansAutoAccepted, Integer allowedTimeLimit)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SpmEvolveTaskParameters.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetAllowedTimeLimit()The global time limit in seconds.List<SpmEvolveTaskParameters.AlternatePlanBaselines>getAlternatePlanBaselines()Determines which alternative plans should be loaded.IntegergetAlternatePlanLimit()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.BooleangetArePlansAutoAccepted()Specifies whether to accept recommended plans automatically.inthashCode()SpmEvolveTaskParameters.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
SpmEvolveTaskParameters
@Deprecated @ConstructorProperties({"alternatePlanSources","alternatePlanBaselines","alternatePlanLimit","arePlansAutoAccepted","allowedTimeLimit"}) public SpmEvolveTaskParameters(List<SpmEvolveTaskParameters.AlternatePlanSources> alternatePlanSources, List<SpmEvolveTaskParameters.AlternatePlanBaselines> alternatePlanBaselines, Integer alternatePlanLimit, Boolean arePlansAutoAccepted, Integer allowedTimeLimit)
Deprecated.
-
-
Method Detail
-
builder
public static SpmEvolveTaskParameters.Builder builder()
Create a new builder.
-
toBuilder
public SpmEvolveTaskParameters.Builder toBuilder()
-
getAlternatePlanSources
public List<SpmEvolveTaskParameters.AlternatePlanSources> getAlternatePlanSources()
Determines which sources to search for additional plans.- Returns:
- the value
-
getAlternatePlanBaselines
public List<SpmEvolveTaskParameters.AlternatePlanBaselines> getAlternatePlanBaselines()
Determines which alternative plans should be loaded.- Returns:
- the value
-
getAlternatePlanLimit
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.
- Returns:
- the value
-
getArePlansAutoAccepted
public Boolean getArePlansAutoAccepted()
Specifies whether to accept recommended plans automatically.- Returns:
- the value
-
getAllowedTimeLimit
public Integer getAllowedTimeLimit()
The global time limit in seconds.This is the total time allowed for the task.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-