Package com.oracle.bmc.opsi.model
Class AwrDatabaseWaitEventSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.AwrDatabaseWaitEventSummary.Builder
-
- Enclosing class:
- AwrDatabaseWaitEventSummary
public static class AwrDatabaseWaitEventSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwrDatabaseWaitEventSummary.BuilderavgWaitTimePerSec(Double avgWaitTimePerSec)The average wait time per second.AwrDatabaseWaitEventSummarybuild()AwrDatabaseWaitEventSummary.Buildercopy(AwrDatabaseWaitEventSummary model)AwrDatabaseWaitEventSummary.Buildername(String name)The name of the event.AwrDatabaseWaitEventSummary.BuildersnapshotIdentifier(Integer snapshotIdentifier)The ID of the snapshot.AwrDatabaseWaitEventSummary.BuildertimeBegin(Date timeBegin)The begin time of the wait event.AwrDatabaseWaitEventSummary.BuildertimeEnd(Date timeEnd)The end time of the wait event.AwrDatabaseWaitEventSummary.BuilderwaitsPerSec(Double waitsPerSec)The wait count per second.
-
-
-
Method Detail
-
name
public AwrDatabaseWaitEventSummary.Builder name(String name)
The name of the event.- Parameters:
name- the value to set- Returns:
- this builder
-
timeBegin
public AwrDatabaseWaitEventSummary.Builder timeBegin(Date timeBegin)
The begin time of the wait event.- Parameters:
timeBegin- the value to set- Returns:
- this builder
-
timeEnd
public AwrDatabaseWaitEventSummary.Builder timeEnd(Date timeEnd)
The end time of the wait event.- Parameters:
timeEnd- the value to set- Returns:
- this builder
-
waitsPerSec
public AwrDatabaseWaitEventSummary.Builder waitsPerSec(Double waitsPerSec)
The wait count per second.- Parameters:
waitsPerSec- the value to set- Returns:
- this builder
-
avgWaitTimePerSec
public AwrDatabaseWaitEventSummary.Builder avgWaitTimePerSec(Double avgWaitTimePerSec)
The average wait time per second.- Parameters:
avgWaitTimePerSec- the value to set- Returns:
- this builder
-
snapshotIdentifier
public AwrDatabaseWaitEventSummary.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}/awrDatabaseSnapshots
- Parameters:
snapshotIdentifier- the value to set- Returns:
- this builder
-
build
public AwrDatabaseWaitEventSummary build()
-
copy
public AwrDatabaseWaitEventSummary.Builder copy(AwrDatabaseWaitEventSummary model)
-
-