Class AwrDbSnapshotRangeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.AwrDbSnapshotRangeSummary.Builder
-
- Enclosing class:
- AwrDbSnapshotRangeSummary
public static class AwrDbSnapshotRangeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwrDbSnapshotRangeSummary.BuilderawrDbId(String awrDbId)The internal ID of the database.AwrDbSnapshotRangeSummarybuild()AwrDbSnapshotRangeSummary.BuildercontainerId(Integer containerId)ID of the database container.AwrDbSnapshotRangeSummary.Buildercopy(AwrDbSnapshotRangeSummary model)AwrDbSnapshotRangeSummary.BuilderdbName(String dbName)The name of the database.AwrDbSnapshotRangeSummary.BuilderdbUniqueName(String dbUniqueName)The unique name of the database.AwrDbSnapshotRangeSummary.BuilderdbVersion(String dbVersion)The version of the database.AwrDbSnapshotRangeSummary.BuilderfirstSnapshotId(Integer firstSnapshotId)The ID of the earliest snapshot.AwrDbSnapshotRangeSummary.BuilderinstanceList(List<Integer> instanceList)The database instance numbers.AwrDbSnapshotRangeSummary.BuilderlatestSnapshotId(Integer latestSnapshotId)The ID of the latest snapshot.AwrDbSnapshotRangeSummary.BuildersnapshotCount(Long snapshotCount)The total number of snapshots.AwrDbSnapshotRangeSummary.BuildersnapshotIntervalInMin(Integer snapshotIntervalInMin)The interval time between snapshots (in minutes).AwrDbSnapshotRangeSummary.BuildersnapshotTimezone(String snapshotTimezone)The time zone of the snapshot.AwrDbSnapshotRangeSummary.BuildersrcDbId(String srcDbId)The internal ID of the database where the AWR snapshot data was collected.AwrDbSnapshotRangeSummary.BuildersrcDbName(String srcDbName)The name of the database where the AWR snapshot data was collected.AwrDbSnapshotRangeSummary.BuildertimeDbStartup(Date timeDbStartup)The timestamp of the database startup.AwrDbSnapshotRangeSummary.BuildertimeFirstSnapshotBegin(Date timeFirstSnapshotBegin)The start time of the earliest snapshot.AwrDbSnapshotRangeSummary.BuildertimeLatestSnapshotEnd(Date timeLatestSnapshotEnd)The end time of the latest snapshot.
-
-
-
Method Detail
-
awrDbId
public AwrDbSnapshotRangeSummary.Builder awrDbId(String awrDbId)
The 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
-
dbName
public AwrDbSnapshotRangeSummary.Builder dbName(String dbName)
The name of the database.- Parameters:
dbName- the value to set- Returns:
- this builder
-
dbUniqueName
public AwrDbSnapshotRangeSummary.Builder dbUniqueName(String dbUniqueName)
The unique name of the database.- Parameters:
dbUniqueName- the value to set- Returns:
- this builder
-
srcDbId
public AwrDbSnapshotRangeSummary.Builder srcDbId(String srcDbId)
The internal ID of the database where the AWR snapshot data was collected.- Parameters:
srcDbId- the value to set- Returns:
- this builder
-
srcDbName
public AwrDbSnapshotRangeSummary.Builder srcDbName(String srcDbName)
The name of the database where the AWR snapshot data was collected.- Parameters:
srcDbName- the value to set- Returns:
- this builder
-
instanceList
public AwrDbSnapshotRangeSummary.Builder instanceList(List<Integer> instanceList)
The database instance numbers.- Parameters:
instanceList- the value to set- Returns:
- this builder
-
timeDbStartup
public AwrDbSnapshotRangeSummary.Builder timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.- Parameters:
timeDbStartup- the value to set- Returns:
- this builder
-
timeFirstSnapshotBegin
public AwrDbSnapshotRangeSummary.Builder timeFirstSnapshotBegin(Date timeFirstSnapshotBegin)
The start time of the earliest snapshot.- Parameters:
timeFirstSnapshotBegin- the value to set- Returns:
- this builder
-
timeLatestSnapshotEnd
public AwrDbSnapshotRangeSummary.Builder timeLatestSnapshotEnd(Date timeLatestSnapshotEnd)
The end time of the latest snapshot.- Parameters:
timeLatestSnapshotEnd- the value to set- Returns:
- this builder
-
firstSnapshotId
public AwrDbSnapshotRangeSummary.Builder firstSnapshotId(Integer firstSnapshotId)
The ID of the earliest snapshot.The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots
- Parameters:
firstSnapshotId- the value to set- Returns:
- this builder
-
latestSnapshotId
public AwrDbSnapshotRangeSummary.Builder latestSnapshotId(Integer latestSnapshotId)
The ID of the latest snapshot.The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots
- Parameters:
latestSnapshotId- the value to set- Returns:
- this builder
-
snapshotCount
public AwrDbSnapshotRangeSummary.Builder snapshotCount(Long snapshotCount)
The total number of snapshots.- Parameters:
snapshotCount- the value to set- Returns:
- this builder
-
snapshotIntervalInMin
public AwrDbSnapshotRangeSummary.Builder snapshotIntervalInMin(Integer snapshotIntervalInMin)
The interval time between snapshots (in minutes).- Parameters:
snapshotIntervalInMin- the value to set- Returns:
- this builder
-
containerId
public AwrDbSnapshotRangeSummary.Builder containerId(Integer containerId)
ID of the database container.The database container ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges
- Parameters:
containerId- the value to set- Returns:
- this builder
-
dbVersion
public AwrDbSnapshotRangeSummary.Builder dbVersion(String dbVersion)
The version of the database.- Parameters:
dbVersion- the value to set- Returns:
- this builder
-
snapshotTimezone
public AwrDbSnapshotRangeSummary.Builder snapshotTimezone(String snapshotTimezone)
The time zone of the snapshot.- Parameters:
snapshotTimezone- the value to set- Returns:
- this builder
-
build
public AwrDbSnapshotRangeSummary build()
-
copy
public AwrDbSnapshotRangeSummary.Builder copy(AwrDbSnapshotRangeSummary model)
-
-