Class AwrDbSnapshotSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.AwrDbSnapshotSummary.Builder
 
- 
- Enclosing class:
- AwrDbSnapshotSummary
 
 public static class AwrDbSnapshotSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AwrDbSnapshotSummary.BuilderawrDbId(String awrDbId)Internal ID of the database.AwrDbSnapshotSummarybuild()AwrDbSnapshotSummary.Buildercopy(AwrDbSnapshotSummary model)AwrDbSnapshotSummary.BuildererrorCount(Long errorCount)The total number of errors.AwrDbSnapshotSummary.BuilderinstanceNumber(Integer instanceNumber)The database instance number.AwrDbSnapshotSummary.BuildersnapshotId(Integer snapshotId)The ID of the snapshot.AwrDbSnapshotSummary.BuildertimeBegin(Date timeBegin)The start time of the snapshot.AwrDbSnapshotSummary.BuildertimeDbStartup(Date timeDbStartup)The timestamp of the database startup.AwrDbSnapshotSummary.BuildertimeEnd(Date timeEnd)The end time of the snapshot.
 
- 
- 
- 
Method Detail- 
awrDbIdpublic AwrDbSnapshotSummary.Builder awrDbId(String awrDbId) Internal ID of the database.The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs - Parameters:
- awrDbId- the value to set
- Returns:
- this builder
 
 - 
instanceNumberpublic AwrDbSnapshotSummary.Builder instanceNumber(Integer instanceNumber) The database instance number.- Parameters:
- instanceNumber- the value to set
- Returns:
- this builder
 
 - 
timeDbStartuppublic AwrDbSnapshotSummary.Builder timeDbStartup(Date timeDbStartup) The timestamp of the database startup.- Parameters:
- timeDbStartup- the value to set
- Returns:
- this builder
 
 - 
timeBeginpublic AwrDbSnapshotSummary.Builder timeBegin(Date timeBegin) The start time of the snapshot.- Parameters:
- timeBegin- the value to set
- Returns:
- this builder
 
 - 
timeEndpublic AwrDbSnapshotSummary.Builder timeEnd(Date timeEnd) The end time of the snapshot.- Parameters:
- timeEnd- the value to set
- Returns:
- this builder
 
 - 
snapshotIdpublic AwrDbSnapshotSummary.Builder snapshotId(Integer snapshotId) The ID of the snapshot.The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots - Parameters:
- snapshotId- the value to set
- Returns:
- this builder
 
 - 
errorCountpublic AwrDbSnapshotSummary.Builder errorCount(Long errorCount) The total number of errors.- Parameters:
- errorCount- the value to set
- Returns:
- this builder
 
 - 
buildpublic AwrDbSnapshotSummary build() 
 - 
copypublic AwrDbSnapshotSummary.Builder copy(AwrDbSnapshotSummary model) 
 
- 
 
-