Class DbSystemSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.mysql.model.DbSystemSummary.Builder
 
- 
- Enclosing class:
- DbSystemSummary
 
 public static class DbSystemSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DbSystemSummary.BuilderaccessMode(DbSystem.AccessMode accessMode)The access mode indicating if the database access is unrestricted (to all MySQL user accounts), or restricted (to only certain users with specific privileges): - UNRESTRICTED: the access to the database is not restricted; - RESTRICTED: the access is allowed only to users with specific privileges; RESTRICTED will correspond to setting the MySQL system variable offline_mode to ON.DbSystemSummary.BuilderavailabilityDomain(String availabilityDomain)The availability domain on which to deploy the Read/Write endpoint.DbSystemSummary.BuilderbackupPolicy(BackupPolicy backupPolicy)DbSystemSummarybuild()DbSystemSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment the DB System belongs in.DbSystemSummary.Buildercopy(DbSystemSummary model)DbSystemSummary.BuildercrashRecovery(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.BuildercurrentPlacement(DbSystemPlacement currentPlacement)DbSystemSummary.BuilderdatabaseManagement(DatabaseManagementStatus databaseManagement)Whether to enable monitoring via the Database Management service.DbSystemSummary.BuilderdatabaseMode(DbSystem.DatabaseMode databaseMode)The database mode indicating the types of statements that are allowed to run in the DB system.DbSystemSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DbSystemSummary.BuilderdeletionPolicy(DeletionPolicyDetails deletionPolicy)DbSystemSummary.Builderdescription(String description)User-provided data about the DB System.DbSystemSummary.BuilderdisplayName(String displayName)The user-friendly name for the DB System.DbSystemSummary.Builderendpoints(List<DbSystemEndpoint> endpoints)The network endpoints available for this DB System.DbSystemSummary.BuilderfaultDomain(String faultDomain)The fault domain on which to deploy the Read/Write endpoint.DbSystemSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DbSystemSummary.BuilderheatWaveCluster(HeatWaveClusterSummary heatWaveCluster)DbSystemSummary.Builderid(String id)The OCID of the DB System.DbSystemSummary.BuilderisHeatWaveClusterAttached(Boolean isHeatWaveClusterAttached)If the DB System has a HeatWave Cluster attached.DbSystemSummary.BuilderisHighlyAvailable(Boolean isHighlyAvailable)Specifies if the DB System is highly available.DbSystemSummary.BuilderlifecycleState(DbSystem.LifecycleState lifecycleState)The current state of the DB System.DbSystemSummary.BuildermysqlVersion(String mysqlVersion)Name of the MySQL Version in use for the DB System.DbSystemSummary.BuilderreadEndpoint(ReadEndpointDetails readEndpoint)DbSystemSummary.Builderrest(RestDetails rest)DbSystemSummary.BuildershapeName(String shapeName)The shape of the primary instances of the DB System.DbSystemSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DbSystemSummary.BuildertimeCreated(Date timeCreated)The date and time the DB System was created.DbSystemSummary.BuildertimeUpdated(Date timeUpdated)The time the DB System was last updated.
 
- 
- 
- 
Method Detail- 
idpublic DbSystemSummary.Builder id(String id) The OCID of the DB System.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DbSystemSummary.Builder displayName(String displayName) The user-friendly name for the DB System.It does not have to be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic DbSystemSummary.Builder description(String description) User-provided data about the DB System.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DbSystemSummary.Builder compartmentId(String compartmentId) The OCID of the compartment the DB System belongs in.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
restpublic DbSystemSummary.Builder rest(RestDetails rest) 
 - 
isHighlyAvailablepublic DbSystemSummary.Builder isHighlyAvailable(Boolean isHighlyAvailable) Specifies if the DB System is highly available.- Parameters:
- isHighlyAvailable- the value to set
- Returns:
- this builder
 
 - 
currentPlacementpublic DbSystemSummary.Builder currentPlacement(DbSystemPlacement currentPlacement) 
 - 
isHeatWaveClusterAttachedpublic DbSystemSummary.Builder isHeatWaveClusterAttached(Boolean isHeatWaveClusterAttached) If the DB System has a HeatWave Cluster attached.- Parameters:
- isHeatWaveClusterAttached- the value to set
- Returns:
- this builder
 
 - 
heatWaveClusterpublic DbSystemSummary.Builder heatWaveCluster(HeatWaveClusterSummary heatWaveCluster) 
 - 
availabilityDomainpublic 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. - Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
faultDomainpublic 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. - Parameters:
- faultDomain- the value to set
- Returns:
- this builder
 
 - 
endpointspublic DbSystemSummary.Builder endpoints(List<DbSystemEndpoint> endpoints) The network endpoints available for this DB System.- Parameters:
- endpoints- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DbSystemSummary.Builder lifecycleState(DbSystem.LifecycleState lifecycleState) The current state of the DB System.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
mysqlVersionpublic DbSystemSummary.Builder mysqlVersion(String mysqlVersion) Name of the MySQL Version in use for the DB System.- Parameters:
- mysqlVersion- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DbSystemSummary.Builder timeCreated(Date timeCreated) The date and time the DB System was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic DbSystemSummary.Builder timeUpdated(Date timeUpdated) The time the DB System was last updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
deletionPolicypublic DbSystemSummary.Builder deletionPolicy(DeletionPolicyDetails deletionPolicy) 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic DbSystemSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
backupPolicypublic DbSystemSummary.Builder backupPolicy(BackupPolicy backupPolicy) 
 - 
shapeNamepublic 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 listShapesoperation.- Parameters:
- shapeName- the value to set
- Returns:
- this builder
 
 - 
crashRecoverypublic 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.- Parameters:
- crashRecovery- the value to set
- Returns:
- this builder
 
 - 
databaseManagementpublic DbSystemSummary.Builder databaseManagement(DatabaseManagementStatus databaseManagement) Whether to enable monitoring via the Database Management service.- Parameters:
- databaseManagement- the value to set
- Returns:
- this builder
 
 - 
databaseModepublic DbSystemSummary.Builder databaseMode(DbSystem.DatabaseMode databaseMode) The database mode indicating the types of statements that are allowed to run in the DB system.This mode applies only to statements run by user connections. Replicated write statements continue to be allowed regardless of the DatabaseMode. - READ_WRITE: allow running read and write statements on the DB system; - READ_ONLY: only allow running read statements on the DB system. - Parameters:
- databaseMode- the value to set
- Returns:
- this builder
 
 - 
accessModepublic DbSystemSummary.Builder accessMode(DbSystem.AccessMode accessMode) The access mode indicating if the database access is unrestricted (to all MySQL user accounts), or restricted (to only certain users with specific privileges): - UNRESTRICTED: the access to the database is not restricted; - RESTRICTED: the access is allowed only to users with specific privileges; RESTRICTED will correspond to setting the MySQL system variable offline_mode to ON.- Parameters:
- accessMode- the value to set
- Returns:
- this builder
 
 - 
readEndpointpublic DbSystemSummary.Builder readEndpoint(ReadEndpointDetails readEndpoint) 
 - 
buildpublic DbSystemSummary build() 
 - 
copypublic DbSystemSummary.Builder copy(DbSystemSummary model) 
 
- 
 
-