Package com.oracle.bmc.opsi.model
Class AwrDatabaseSnapshotSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.AwrDatabaseSnapshotSummary.Builder
-
- Enclosing class:
- AwrDatabaseSnapshotSummary
public static class AwrDatabaseSnapshotSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwrDatabaseSnapshotSummary.BuilderawrSourceDatabaseIdentifier(String awrSourceDatabaseIdentifier)Internal ID of the database.AwrDatabaseSnapshotSummarybuild()AwrDatabaseSnapshotSummary.Buildercopy(AwrDatabaseSnapshotSummary model)AwrDatabaseSnapshotSummary.BuildererrorCount(Long errorCount)The total number of errors.AwrDatabaseSnapshotSummary.BuilderinstanceNumber(Integer instanceNumber)The database instance number.AwrDatabaseSnapshotSummary.BuildersnapshotIdentifier(Integer snapshotIdentifier)The ID of the snapshot.AwrDatabaseSnapshotSummary.BuildertimeBegin(Date timeBegin)The start time of the snapshot.AwrDatabaseSnapshotSummary.BuildertimeDbStartup(Date timeDbStartup)The timestamp of the database startup.AwrDatabaseSnapshotSummary.BuildertimeEnd(Date timeEnd)The end time of the snapshot.
-
-
-
Method Detail
-
awrSourceDatabaseIdentifier
public AwrDatabaseSnapshotSummary.Builder awrSourceDatabaseIdentifier(String awrSourceDatabaseIdentifier)
Internal ID of the database.The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabases
- Parameters:
awrSourceDatabaseIdentifier- the value to set- Returns:
- this builder
-
instanceNumber
public AwrDatabaseSnapshotSummary.Builder instanceNumber(Integer instanceNumber)
The database instance number.- Parameters:
instanceNumber- the value to set- Returns:
- this builder
-
timeDbStartup
public AwrDatabaseSnapshotSummary.Builder timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.- Parameters:
timeDbStartup- the value to set- Returns:
- this builder
-
timeBegin
public AwrDatabaseSnapshotSummary.Builder timeBegin(Date timeBegin)
The start time of the snapshot.- Parameters:
timeBegin- the value to set- Returns:
- this builder
-
timeEnd
public AwrDatabaseSnapshotSummary.Builder timeEnd(Date timeEnd)
The end time of the snapshot.- Parameters:
timeEnd- the value to set- Returns:
- this builder
-
snapshotIdentifier
public AwrDatabaseSnapshotSummary.Builder snapshotIdentifier(Integer snapshotIdentifier)
The ID of the snapshot.The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDbSnapshots
- Parameters:
snapshotIdentifier- the value to set- Returns:
- this builder
-
errorCount
public AwrDatabaseSnapshotSummary.Builder errorCount(Long errorCount)
The total number of errors.- Parameters:
errorCount- the value to set- Returns:
- this builder
-
build
public AwrDatabaseSnapshotSummary build()
-
copy
public AwrDatabaseSnapshotSummary.Builder copy(AwrDatabaseSnapshotSummary model)
-
-