Class SqlTuningSet
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.databasemanagement.model.SqlTuningSet
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class SqlTuningSet extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails of the Sql tuning set.
 Note: Objects should always be created or deserialized using theSqlTuningSet.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 theSqlTuningSet.Builder, which maintain a set of all explicitly set fields calledSqlTuningSet.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 SummaryNested Classes Modifier and Type Class Description static classSqlTuningSet.AllSqlStatementsFetchedIn OCI database management, there is a limit to fetch only 2000 rows.static classSqlTuningSet.Builder
 - 
Constructor SummaryConstructors Constructor Description SqlTuningSet(Integer id, String owner, String name, Integer statementCount, Date timeCreated, String description, Date timeLastModified, SqlTuningSetStatusTypes status, String scheduledJobName, String errorMessage, SqlTuningSet.AllSqlStatementsFetched allSqlStatementsFetched, List<SqlInSqlTuningSet> sqlList)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlTuningSet.Builderbuilder()Create a new builder.booleanequals(Object o)SqlTuningSet.AllSqlStatementsFetchedgetAllSqlStatementsFetched()In OCI database management, there is a limit to fetch only 2000 rows.StringgetDescription()The description of the Sql tuning set.StringgetErrorMessage()Latest execution error of the plsql that was submitted as a scheduler job.IntegergetId()The unique Sql tuning set identifier.StringgetName()The name of the Sql tuning set.StringgetOwner()The owner of the Sql tuning set.StringgetScheduledJobName()Name of the Sql tuning set scheduler job.List<SqlInSqlTuningSet>getSqlList()A list of the Sqls associated with the Sql tuning set.IntegergetStatementCount()Number of statements in the Sql tuning setSqlTuningSetStatusTypesgetStatus()Current status of the Sql tuning set.DategetTimeCreated()The created time of the Sql tuning set.DategetTimeLastModified()Last modified time of the Sql tuning set.inthashCode()SqlTuningSet.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
SqlTuningSet@Deprecated @ConstructorProperties({"id","owner","name","statementCount","timeCreated","description","timeLastModified","status","scheduledJobName","errorMessage","allSqlStatementsFetched","sqlList"}) public SqlTuningSet(Integer id, String owner, String name, Integer statementCount, Date timeCreated, String description, Date timeLastModified, SqlTuningSetStatusTypes status, String scheduledJobName, String errorMessage, SqlTuningSet.AllSqlStatementsFetched allSqlStatementsFetched, List<SqlInSqlTuningSet> sqlList) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static SqlTuningSet.Builder builder() Create a new builder.
 - 
toBuilderpublic SqlTuningSet.Builder toBuilder() 
 - 
getIdpublic Integer getId() The unique Sql tuning set identifier.- Returns:
- the value
 
 - 
getOwnerpublic String getOwner() The owner of the Sql tuning set.- Returns:
- the value
 
 - 
getNamepublic String getName() The name of the Sql tuning set.- Returns:
- the value
 
 - 
getStatementCountpublic Integer getStatementCount() Number of statements in the Sql tuning set- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() The created time of the Sql tuning set.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() The description of the Sql tuning set.- Returns:
- the value
 
 - 
getTimeLastModifiedpublic Date getTimeLastModified() Last modified time of the Sql tuning set.- Returns:
- the value
 
 - 
getStatuspublic SqlTuningSetStatusTypes getStatus() Current status of the Sql tuning set.- Returns:
- the value
 
 - 
getScheduledJobNamepublic String getScheduledJobName() Name of the Sql tuning set scheduler job.- Returns:
- the value
 
 - 
getErrorMessagepublic String getErrorMessage() Latest execution error of the plsql that was submitted as a scheduler job.- Returns:
- the value
 
 - 
getAllSqlStatementsFetchedpublic SqlTuningSet.AllSqlStatementsFetched getAllSqlStatementsFetched() In OCI database management, there is a limit to fetch only 2000 rows.This flag indicates whether all Sql statements of this Sql tuning set matching the filter criteria are fetched or not. Possible values are ‘Yes’ or ‘No’ - Yes - All Sql statements matching the filter criteria are fetched. - No - There are more Sql statements matching the fitler criteria. User should fine tune the filter criteria to narrow down the result set. - Returns:
- the value
 
 - 
getSqlListpublic List<SqlInSqlTuningSet> getSqlList() A list of the Sqls associated with the Sql tuning set.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-