public static class MySqlDatabaseUsageMetrics.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MySqlDatabaseUsageMetrics |
build() |
MySqlDatabaseUsageMetrics.Builder |
compartmentId(String compartmentId)
The OCID of the compartment where the Managed MySQL Database resides.
|
MySqlDatabaseUsageMetrics.Builder |
copy(MySqlDatabaseUsageMetrics model) |
MySqlDatabaseUsageMetrics.Builder |
databaseName(String databaseName)
The display name of the Managed MySQL Database.
|
MySqlDatabaseUsageMetrics.Builder |
databaseStatus(MySqlDatabaseStatus databaseStatus)
The status of the MySQL Database.
|
MySqlDatabaseUsageMetrics.Builder |
databaseType(String databaseType)
Indicates MySQL Database type, ONPREMISE or MySQL Database System.
|
MySqlDatabaseUsageMetrics.Builder |
databaseVersion(String databaseVersion)
The version of the MySQL Database.
|
MySqlDatabaseUsageMetrics.Builder |
dbId(String dbId)
The OCID of the Managed MySQL Database.
|
MySqlDatabaseUsageMetrics.Builder |
heatWaveClusterDisplayName(String heatWaveClusterDisplayName)
The name of the HeatWave cluster.
|
MySqlDatabaseUsageMetrics.Builder |
heatWaveNodeCount(Integer heatWaveNodeCount)
The number of nodes in the HeatWave cluster.
|
MySqlDatabaseUsageMetrics.Builder |
isHeatWaveEnabled(Boolean isHeatWaveEnabled)
Indicates whether HeatWave is enabled for the MySQL Database System or not.
|
MySqlDatabaseUsageMetrics.Builder |
mdsDeploymentType(String mdsDeploymentType)
The type of MySQL Database System.
|
MySqlDatabaseUsageMetrics.Builder |
mdslifecycleState(String mdslifecycleState)
The lifecycle state of the MySQL Database System.
|
MySqlDatabaseUsageMetrics.Builder |
metrics(List<MySqlFleetMetricDefinition> metrics)
A list of the database health metrics like CPU, Storage, and Memory.
|
public MySqlDatabaseUsageMetrics.Builder compartmentId(String compartmentId)
The OCID of the compartment where the Managed MySQL Database resides.
compartmentId
- the value to setpublic MySqlDatabaseUsageMetrics.Builder databaseName(String databaseName)
The display name of the Managed MySQL Database.
databaseName
- the value to setpublic MySqlDatabaseUsageMetrics.Builder databaseType(String databaseType)
Indicates MySQL Database type, ONPREMISE or MySQL Database System.
databaseType
- the value to setpublic MySqlDatabaseUsageMetrics.Builder mdsDeploymentType(String mdsDeploymentType)
The type of MySQL Database System.
mdsDeploymentType
- the value to setpublic MySqlDatabaseUsageMetrics.Builder mdslifecycleState(String mdslifecycleState)
The lifecycle state of the MySQL Database System.
mdslifecycleState
- the value to setpublic MySqlDatabaseUsageMetrics.Builder databaseVersion(String databaseVersion)
The version of the MySQL Database.
databaseVersion
- the value to setpublic MySqlDatabaseUsageMetrics.Builder dbId(String dbId)
The OCID of the Managed MySQL Database.
dbId
- the value to setpublic MySqlDatabaseUsageMetrics.Builder databaseStatus(MySqlDatabaseStatus databaseStatus)
The status of the MySQL Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
databaseStatus
- the value to setpublic MySqlDatabaseUsageMetrics.Builder isHeatWaveEnabled(Boolean isHeatWaveEnabled)
Indicates whether HeatWave is enabled for the MySQL Database System or not.
isHeatWaveEnabled
- the value to setpublic MySqlDatabaseUsageMetrics.Builder heatWaveClusterDisplayName(String heatWaveClusterDisplayName)
The name of the HeatWave cluster.
heatWaveClusterDisplayName
- the value to setpublic MySqlDatabaseUsageMetrics.Builder heatWaveNodeCount(Integer heatWaveNodeCount)
The number of nodes in the HeatWave cluster.
heatWaveNodeCount
- the value to setpublic MySqlDatabaseUsageMetrics.Builder metrics(List<MySqlFleetMetricDefinition> metrics)
A list of the database health metrics like CPU, Storage, and Memory.
metrics
- the value to setpublic MySqlDatabaseUsageMetrics build()
public MySqlDatabaseUsageMetrics.Builder copy(MySqlDatabaseUsageMetrics model)
Copyright © 2016–2024. All rights reserved.