Package com.oracle.bmc.opsi.model
Class SqlBucket.Builder
- java.lang.Object
- 
- com.oracle.bmc.opsi.model.SqlBucket.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlBucket.BuilderbucketId(String bucketId)SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min Example: “<= 3 secs”SqlBucketbuild()SqlBucket.Buildercopy(SqlBucket model)SqlBucket.BuildercpuTimeInSec(Float cpuTimeInSec)Total CPU time Example: 1046SqlBucket.BuilderdatabaseType(String databaseType)Ops Insights internal representation of the database type.SqlBucket.BuilderexecutionsCount(Integer executionsCount)Total number of executions Example: 60SqlBucket.BuilderioTimeInSec(Float ioTimeInSec)Total IO time Example: 5810SqlBucket.BuilderotherWaitTimeInSec(Float otherWaitTimeInSec)Total other wait time Example: 24061SqlBucket.BuilderplanHash(Long planHash)Plan hash value for the SQL Execution PlanSqlBucket.BuildersqlIdentifier(String sqlIdentifier)Unique SQL_ID for a SQL Statement.SqlBucket.BuildertimeCollected(Date timeCollected)Collection timestamp Example: “2020-03-31T00:00:00.000Z”SqlBucket.BuildertotalTimeInSec(Float totalTimeInSec)Total time Example: 30917SqlBucket.Builderversion(Float version)Version Example: 1
 
- 
- 
- 
Method Detail- 
versionpublic SqlBucket.Builder version(Float version) Version Example: 1- Parameters:
- version- the value to set
- Returns:
- this builder
 
 - 
databaseTypepublic SqlBucket.Builder databaseType(String databaseType) Ops Insights internal representation of the database type.- Parameters:
- databaseType- the value to set
- Returns:
- this builder
 
 - 
timeCollectedpublic SqlBucket.Builder timeCollected(Date timeCollected) Collection timestamp Example: “2020-03-31T00:00:00.000Z”- Parameters:
- timeCollected- the value to set
- Returns:
- this builder
 
 - 
sqlIdentifierpublic SqlBucket.Builder sqlIdentifier(String sqlIdentifier) Unique SQL_ID for a SQL Statement.- Parameters:
- sqlIdentifier- the value to set
- Returns:
- this builder
 
 - 
planHashpublic SqlBucket.Builder planHash(Long planHash) Plan hash value for the SQL Execution Plan- Parameters:
- planHash- the value to set
- Returns:
- this builder
 
 - 
bucketIdpublic SqlBucket.Builder bucketId(String bucketId) SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min Example: “<= 3 secs”- Parameters:
- bucketId- the value to set
- Returns:
- this builder
 
 - 
executionsCountpublic SqlBucket.Builder executionsCount(Integer executionsCount) Total number of executions Example: 60- Parameters:
- executionsCount- the value to set
- Returns:
- this builder
 
 - 
cpuTimeInSecpublic SqlBucket.Builder cpuTimeInSec(Float cpuTimeInSec) Total CPU time Example: 1046- Parameters:
- cpuTimeInSec- the value to set
- Returns:
- this builder
 
 - 
ioTimeInSecpublic SqlBucket.Builder ioTimeInSec(Float ioTimeInSec) Total IO time Example: 5810- Parameters:
- ioTimeInSec- the value to set
- Returns:
- this builder
 
 - 
otherWaitTimeInSecpublic SqlBucket.Builder otherWaitTimeInSec(Float otherWaitTimeInSec) Total other wait time Example: 24061- Parameters:
- otherWaitTimeInSec- the value to set
- Returns:
- this builder
 
 - 
totalTimeInSecpublic SqlBucket.Builder totalTimeInSec(Float totalTimeInSec) Total time Example: 30917- Parameters:
- totalTimeInSec- the value to set
- Returns:
- this builder
 
 - 
buildpublic SqlBucket build() 
 - 
copypublic SqlBucket.Builder copy(SqlBucket model) 
 
- 
 
-