Package com.oracle.bmc.opsi.model
Class AwrSnapshotSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.AwrSnapshotSummary.Builder
-
- Enclosing class:
- AwrSnapshotSummary
public static class AwrSnapshotSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwrSnapshotSummary.BuilderawrSourceDatabaseId(String awrSourceDatabaseId)DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.AwrSnapshotSummarybuild()AwrSnapshotSummary.Buildercopy(AwrSnapshotSummary model)AwrSnapshotSummary.BuildererrorCount(Long errorCount)The total number of errors.AwrSnapshotSummary.BuilderinstanceNumber(Integer instanceNumber)The database instance number.AwrSnapshotSummary.BuildersnapshotIdentifier(Integer snapshotIdentifier)The identifier of the snapshot.AwrSnapshotSummary.BuildertimeDbStartup(Date timeDbStartup)The timestamp of the database startup.AwrSnapshotSummary.BuildertimeSnapshotBegin(Date timeSnapshotBegin)The start time of the snapshot.AwrSnapshotSummary.BuildertimeSnapshotEnd(Date timeSnapshotEnd)The end time of the snapshot.
-
-
-
Method Detail
-
awrSourceDatabaseId
public AwrSnapshotSummary.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
-
instanceNumber
public AwrSnapshotSummary.Builder instanceNumber(Integer instanceNumber)
The database instance number.- Parameters:
instanceNumber- the value to set- Returns:
- this builder
-
timeDbStartup
public AwrSnapshotSummary.Builder timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.- Parameters:
timeDbStartup- the value to set- Returns:
- this builder
-
timeSnapshotBegin
public AwrSnapshotSummary.Builder timeSnapshotBegin(Date timeSnapshotBegin)
The start time of the snapshot.- Parameters:
timeSnapshotBegin- the value to set- Returns:
- this builder
-
timeSnapshotEnd
public AwrSnapshotSummary.Builder timeSnapshotEnd(Date timeSnapshotEnd)
The end time of the snapshot.- Parameters:
timeSnapshotEnd- the value to set- Returns:
- this builder
-
snapshotIdentifier
public AwrSnapshotSummary.Builder snapshotIdentifier(Integer snapshotIdentifier)
The identifier of the snapshot.- Parameters:
snapshotIdentifier- the value to set- Returns:
- this builder
-
errorCount
public AwrSnapshotSummary.Builder errorCount(Long errorCount)
The total number of errors.- Parameters:
errorCount- the value to set- Returns:
- this builder
-
build
public AwrSnapshotSummary build()
-
copy
public AwrSnapshotSummary.Builder copy(AwrSnapshotSummary model)
-
-