Package com.oracle.bmc.opsi.model
Class AwrSourceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.AwrSourceSummary.Builder
-
- Enclosing class:
- AwrSourceSummary
public static class AwrSourceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwrSourceSummary.Builder
awrHubId(String awrHubId)
AWR Hub OCIDAwrSourceSummary.Builder
awrSourceDatabaseId(String awrSourceDatabaseId)
DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.AwrSourceSummary
build()
AwrSourceSummary.Builder
copy(AwrSourceSummary model)
AwrSourceSummary.Builder
hoursSinceLastImport(Double hoursSinceLastImport)
Number of hours since last AWR snapshots import happened from the Source database.AwrSourceSummary.Builder
maxSnapshotIdentifier(BigDecimal maxSnapshotIdentifier)
The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.AwrSourceSummary.Builder
minSnapshotIdentifier(BigDecimal minSnapshotIdentifier)
The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.AwrSourceSummary.Builder
name(String name)
Database name of the Source database for which AWR Data will be uploaded to AWR Hub.AwrSourceSummary.Builder
snapshotsUploaded(BigDecimal snapshotsUploaded)
Number of AWR snapshots uploaded from the Source database.AwrSourceSummary.Builder
timeFirstSnapshotGenerated(Date timeFirstSnapshotGenerated)
The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub.AwrSourceSummary.Builder
timeLastSnapshotGenerated(Date timeLastSnapshotGenerated)
The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub.
-
-
-
Method Detail
-
awrHubId
public AwrSourceSummary.Builder awrHubId(String awrHubId)
AWR Hub OCID- Parameters:
awrHubId
- the value to set- Returns:
- this builder
-
name
public AwrSourceSummary.Builder name(String name)
Database name of the Source database for which AWR Data will be uploaded to AWR Hub.- Parameters:
name
- the value to set- Returns:
- this builder
-
awrSourceDatabaseId
public AwrSourceSummary.Builder awrSourceDatabaseId(String awrSourceDatabaseId)
DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.- Parameters:
awrSourceDatabaseId
- the value to set- Returns:
- this builder
-
snapshotsUploaded
public AwrSourceSummary.Builder snapshotsUploaded(BigDecimal snapshotsUploaded)
Number of AWR snapshots uploaded from the Source database.- Parameters:
snapshotsUploaded
- the value to set- Returns:
- this builder
-
minSnapshotIdentifier
public AwrSourceSummary.Builder minSnapshotIdentifier(BigDecimal minSnapshotIdentifier)
The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.- Parameters:
minSnapshotIdentifier
- the value to set- Returns:
- this builder
-
maxSnapshotIdentifier
public AwrSourceSummary.Builder maxSnapshotIdentifier(BigDecimal maxSnapshotIdentifier)
The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.- Parameters:
maxSnapshotIdentifier
- the value to set- Returns:
- this builder
-
timeFirstSnapshotGenerated
public AwrSourceSummary.Builder timeFirstSnapshotGenerated(Date timeFirstSnapshotGenerated)
The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub.An RFC3339 formatted datetime string
- Parameters:
timeFirstSnapshotGenerated
- the value to set- Returns:
- this builder
-
timeLastSnapshotGenerated
public AwrSourceSummary.Builder timeLastSnapshotGenerated(Date timeLastSnapshotGenerated)
The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub.An RFC3339 formatted datetime string
- Parameters:
timeLastSnapshotGenerated
- the value to set- Returns:
- this builder
-
hoursSinceLastImport
public AwrSourceSummary.Builder hoursSinceLastImport(Double hoursSinceLastImport)
Number of hours since last AWR snapshots import happened from the Source database.- Parameters:
hoursSinceLastImport
- the value to set- Returns:
- this builder
-
build
public AwrSourceSummary build()
-
copy
public AwrSourceSummary.Builder copy(AwrSourceSummary model)
-
-