public static class DatabaseFleetHealthMetrics.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseFleetHealthMetrics |
build() |
DatabaseFleetHealthMetrics.Builder |
compareBaselineTime(String compareBaselineTime)
The baseline date and time in UTC in ISO-8601 format, which is
“yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
|
DatabaseFleetHealthMetrics.Builder |
compareTargetTime(String compareTargetTime)
The target date and time in UTC in ISO-8601 format, which is
“yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.
|
DatabaseFleetHealthMetrics.Builder |
compareType(CompareType compareType)
The time window used for metrics comparison.
|
DatabaseFleetHealthMetrics.Builder |
copy(DatabaseFleetHealthMetrics model) |
DatabaseFleetHealthMetrics.Builder |
fleetDatabases(List<DatabaseUsageMetrics> fleetDatabases)
A list of the databases present in the fleet and their usage metrics.
|
DatabaseFleetHealthMetrics.Builder |
fleetSummary(FleetSummary fleetSummary) |
public DatabaseFleetHealthMetrics.Builder compareBaselineTime(String compareBaselineTime)
The baseline date and time in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”. This is the date and time against which percentage change is calculated.
compareBaselineTime
- the value to setpublic DatabaseFleetHealthMetrics.Builder compareTargetTime(String compareTargetTime)
The target date and time in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”. All the metrics are returned for the target date and time and the percentage change is calculated against the baseline date and time.
compareTargetTime
- the value to setpublic DatabaseFleetHealthMetrics.Builder compareType(CompareType compareType)
The time window used for metrics comparison.
compareType
- the value to setpublic DatabaseFleetHealthMetrics.Builder fleetSummary(FleetSummary fleetSummary)
public DatabaseFleetHealthMetrics.Builder fleetDatabases(List<DatabaseUsageMetrics> fleetDatabases)
A list of the databases present in the fleet and their usage metrics.
fleetDatabases
- the value to setpublic DatabaseFleetHealthMetrics build()
public DatabaseFleetHealthMetrics.Builder copy(DatabaseFleetHealthMetrics model)
Copyright © 2016–2024. All rights reserved.