public static class DbSystemSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DbSystemSummary.Builder |
availabilityDomain(String availabilityDomain)
The availability domain on which to deploy the Read/Write endpoint.
|
DbSystemSummary.Builder |
backupPolicy(BackupPolicy backupPolicy) |
DbSystemSummary |
build() |
DbSystemSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment the DB System belongs in.
|
DbSystemSummary.Builder |
copy(DbSystemSummary model) |
DbSystemSummary.Builder |
crashRecovery(CrashRecoveryStatus crashRecovery)
Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or
disabled, and whether to enable or disable syncing of the Binary Logs.
|
DbSystemSummary.Builder |
currentPlacement(DbSystemPlacement currentPlacement) |
DbSystemSummary.Builder |
databaseManagement(DatabaseManagementStatus databaseManagement)
Whether to enable monitoring via the Database Management service.
|
DbSystemSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DbSystemSummary.Builder |
deletionPolicy(DeletionPolicyDetails deletionPolicy) |
DbSystemSummary.Builder |
description(String description)
User-provided data about the DB System.
|
DbSystemSummary.Builder |
displayName(String displayName)
The user-friendly name for the DB System.
|
DbSystemSummary.Builder |
endpoints(List<DbSystemEndpoint> endpoints)
The network endpoints available for this DB System.
|
DbSystemSummary.Builder |
faultDomain(String faultDomain)
The fault domain on which to deploy the Read/Write endpoint.
|
DbSystemSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DbSystemSummary.Builder |
heatWaveCluster(HeatWaveClusterSummary heatWaveCluster) |
DbSystemSummary.Builder |
id(String id)
The OCID of the DB System.
|
DbSystemSummary.Builder |
isHeatWaveClusterAttached(Boolean isHeatWaveClusterAttached)
If the DB System has a HeatWave Cluster attached.
|
DbSystemSummary.Builder |
isHighlyAvailable(Boolean isHighlyAvailable)
Specifies if the DB System is highly available.
|
DbSystemSummary.Builder |
lifecycleState(DbSystem.LifecycleState lifecycleState)
The current state of the DB System.
|
DbSystemSummary.Builder |
mysqlVersion(String mysqlVersion)
Name of the MySQL Version in use for the DB System.
|
DbSystemSummary.Builder |
shapeName(String shapeName)
The shape of the primary instances of the DB System.
|
DbSystemSummary.Builder |
timeCreated(Date timeCreated)
The date and time the DB System was created.
|
DbSystemSummary.Builder |
timeUpdated(Date timeUpdated)
The time the DB System was last updated.
|
public DbSystemSummary.Builder id(String id)
The OCID of the DB System.
id
- the value to setpublic DbSystemSummary.Builder displayName(String displayName)
The user-friendly name for the DB System. It does not have to be unique.
displayName
- the value to setpublic DbSystemSummary.Builder description(String description)
User-provided data about the DB System.
description
- the value to setpublic DbSystemSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment the DB System belongs in.
compartmentId
- the value to setpublic DbSystemSummary.Builder isHighlyAvailable(Boolean isHighlyAvailable)
Specifies if the DB System is highly available.
isHighlyAvailable
- the value to setpublic DbSystemSummary.Builder currentPlacement(DbSystemPlacement currentPlacement)
public DbSystemSummary.Builder isHeatWaveClusterAttached(Boolean isHeatWaveClusterAttached)
If the DB System has a HeatWave Cluster attached.
isHeatWaveClusterAttached
- the value to setpublic DbSystemSummary.Builder heatWaveCluster(HeatWaveClusterSummary heatWaveCluster)
public DbSystemSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance.
In a failover scenario, the Read/Write endpoint is redirected to one of the other availability domains and the MySQL instance in that domain is promoted to the primary instance. This redirection does not affect the IP address of the DB System in any way.
For a standalone DB System, this defines the availability domain in which the DB System is placed.
availabilityDomain
- the value to setpublic DbSystemSummary.Builder faultDomain(String faultDomain)
The fault domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance.
In a failover scenario, the Read/Write endpoint is redirected to one of the other fault domains and the MySQL instance in that domain is promoted to the primary instance. This redirection does not affect the IP address of the DB System in any way.
For a standalone DB System, this defines the fault domain in which the DB System is placed.
faultDomain
- the value to setpublic DbSystemSummary.Builder endpoints(List<DbSystemEndpoint> endpoints)
The network endpoints available for this DB System.
endpoints
- the value to setpublic DbSystemSummary.Builder lifecycleState(DbSystem.LifecycleState lifecycleState)
The current state of the DB System.
lifecycleState
- the value to setpublic DbSystemSummary.Builder mysqlVersion(String mysqlVersion)
Name of the MySQL Version in use for the DB System.
mysqlVersion
- the value to setpublic DbSystemSummary.Builder timeCreated(Date timeCreated)
The date and time the DB System was created.
timeCreated
- the value to setpublic DbSystemSummary.Builder timeUpdated(Date timeUpdated)
The time the DB System was last updated.
timeUpdated
- the value to setpublic DbSystemSummary.Builder deletionPolicy(DeletionPolicyDetails deletionPolicy)
public DbSystemSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic DbSystemSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic DbSystemSummary.Builder backupPolicy(BackupPolicy backupPolicy)
public DbSystemSummary.Builder shapeName(String shapeName)
The shape of the primary instances of the DB System. The shape determines resources
allocated to a DB System - CPU cores and memory for VM shapes; CPU cores, memory and
storage for non-VM (or bare metal) shapes. To get a list of shapes, use (the listShapes
operation.
shapeName
- the value to setpublic DbSystemSummary.Builder crashRecovery(CrashRecoveryStatus crashRecovery)
Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs.
crashRecovery
- the value to setpublic DbSystemSummary.Builder databaseManagement(DatabaseManagementStatus databaseManagement)
Whether to enable monitoring via the Database Management service.
databaseManagement
- the value to setpublic DbSystemSummary build()
public DbSystemSummary.Builder copy(DbSystemSummary model)
Copyright © 2016–2024. All rights reserved.