Class AwrDbSnapshotSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.AwrDbSnapshotSummary.Builder
-
- Enclosing class:
- AwrDbSnapshotSummary
public static class AwrDbSnapshotSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
awrDbId
public 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
-
instanceNumber
public AwrDbSnapshotSummary.Builder instanceNumber(Integer instanceNumber)
The database instance number.- Parameters:
instanceNumber- the value to set- Returns:
- this builder
-
timeDbStartup
public AwrDbSnapshotSummary.Builder timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.- Parameters:
timeDbStartup- the value to set- Returns:
- this builder
-
timeBegin
public AwrDbSnapshotSummary.Builder timeBegin(Date timeBegin)
The start time of the snapshot.- Parameters:
timeBegin- the value to set- Returns:
- this builder
-
timeEnd
public AwrDbSnapshotSummary.Builder timeEnd(Date timeEnd)
The end time of the snapshot.- Parameters:
timeEnd- the value to set- Returns:
- this builder
-
snapshotId
public 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
-
errorCount
public AwrDbSnapshotSummary.Builder errorCount(Long errorCount)
The total number of errors.- Parameters:
errorCount- the value to set- Returns:
- this builder
-
build
public AwrDbSnapshotSummary build()
-
copy
public AwrDbSnapshotSummary.Builder copy(AwrDbSnapshotSummary model)
-
-