Package com.oracle.bmc.opsi.model
Class AwrDatabaseSnapshotRangeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.AwrDatabaseSnapshotRangeSummary.Builder
-
- Enclosing class:
- AwrDatabaseSnapshotRangeSummary
public static class AwrDatabaseSnapshotRangeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
awrSourceDatabaseIdentifier
public AwrDatabaseSnapshotRangeSummary.Builder awrSourceDatabaseIdentifier(String awrSourceDatabaseIdentifier)
The 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
-
dbName
public AwrDatabaseSnapshotRangeSummary.Builder dbName(String dbName)
The name of the database.- Parameters:
dbName
- the value to set- Returns:
- this builder
-
instanceList
public AwrDatabaseSnapshotRangeSummary.Builder instanceList(List<Integer> instanceList)
The database instance numbers.- Parameters:
instanceList
- the value to set- Returns:
- this builder
-
timeDbStartup
public AwrDatabaseSnapshotRangeSummary.Builder timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.- Parameters:
timeDbStartup
- the value to set- Returns:
- this builder
-
timeFirstSnapshotBegin
public AwrDatabaseSnapshotRangeSummary.Builder timeFirstSnapshotBegin(Date timeFirstSnapshotBegin)
The start time of the earliest snapshot.- Parameters:
timeFirstSnapshotBegin
- the value to set- Returns:
- this builder
-
timeLatestSnapshotEnd
public AwrDatabaseSnapshotRangeSummary.Builder timeLatestSnapshotEnd(Date timeLatestSnapshotEnd)
The end time of the latest snapshot.- Parameters:
timeLatestSnapshotEnd
- the value to set- Returns:
- this builder
-
firstSnapshotIdentifier
public AwrDatabaseSnapshotRangeSummary.Builder firstSnapshotIdentifier(Integer firstSnapshotIdentifier)
The ID of the earliest snapshot.The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots
- Parameters:
firstSnapshotIdentifier
- the value to set- Returns:
- this builder
-
latestSnapshotIdentifier
public AwrDatabaseSnapshotRangeSummary.Builder latestSnapshotIdentifier(Integer latestSnapshotIdentifier)
The ID of the latest snapshot.The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots
- Parameters:
latestSnapshotIdentifier
- the value to set- Returns:
- this builder
-
snapshotCount
public AwrDatabaseSnapshotRangeSummary.Builder snapshotCount(Long snapshotCount)
The total number of snapshots.- Parameters:
snapshotCount
- the value to set- Returns:
- this builder
-
snapshotIntervalInMin
public AwrDatabaseSnapshotRangeSummary.Builder snapshotIntervalInMin(Integer snapshotIntervalInMin)
The interval time between snapshots (in minutes).- Parameters:
snapshotIntervalInMin
- the value to set- Returns:
- this builder
-
dbVersion
public AwrDatabaseSnapshotRangeSummary.Builder dbVersion(String dbVersion)
The version of the database.- Parameters:
dbVersion
- the value to set- Returns:
- this builder
-
snapshotTimezone
public AwrDatabaseSnapshotRangeSummary.Builder snapshotTimezone(String snapshotTimezone)
The time zone of the snapshot.sample - snapshotTimezone=+0 00:00:00
- Parameters:
snapshotTimezone
- the value to set- Returns:
- this builder
-
build
public AwrDatabaseSnapshotRangeSummary build()
-
copy
public AwrDatabaseSnapshotRangeSummary.Builder copy(AwrDatabaseSnapshotRangeSummary model)
-
-