Package com.oracle.bmc.mysql.model
Class BlueGreenDeploymentTargetDbSystemDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.BlueGreenDeploymentTargetDbSystemDetails.Builder
-
- Enclosing class:
- BlueGreenDeploymentTargetDbSystemDetails
public static class BlueGreenDeploymentTargetDbSystemDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlueGreenDeploymentTargetDbSystemDetailsbuild()BlueGreenDeploymentTargetDbSystemDetails.BuilderconfigurationId(String configurationId)The OCID of the configuration applied to the target DB System.BlueGreenDeploymentTargetDbSystemDetails.Buildercopy(BlueGreenDeploymentTargetDbSystemDetails model)BlueGreenDeploymentTargetDbSystemDetails.BuilderdataStorageSizeInGBs(Integer dataStorageSizeInGBs)Initial data storage size in GiBs for the target DB System.BlueGreenDeploymentTargetDbSystemDetails.BuildermysqlVersion(String mysqlVersion)Target MySQL engine version.BlueGreenDeploymentTargetDbSystemDetails.BuildershapeName(String shapeName)The shape of the target DB System.
-
-
-
Method Detail
-
mysqlVersion
public BlueGreenDeploymentTargetDbSystemDetails.Builder mysqlVersion(String mysqlVersion)
Target MySQL engine version.- Parameters:
mysqlVersion- the value to set- Returns:
- this builder
-
shapeName
public BlueGreenDeploymentTargetDbSystemDetails.Builder shapeName(String shapeName)
The shape of the target DB System.The shape determines resources allocated to the 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
-
configurationId
public BlueGreenDeploymentTargetDbSystemDetails.Builder configurationId(String configurationId)
The OCID of the configuration applied to the target DB System.- Parameters:
configurationId- the value to set- Returns:
- this builder
-
dataStorageSizeInGBs
public BlueGreenDeploymentTargetDbSystemDetails.Builder dataStorageSizeInGBs(Integer dataStorageSizeInGBs)
Initial data storage size in GiBs for the target DB System.- Parameters:
dataStorageSizeInGBs- the value to set- Returns:
- this builder
-
build
public BlueGreenDeploymentTargetDbSystemDetails build()
-
copy
public BlueGreenDeploymentTargetDbSystemDetails.Builder copy(BlueGreenDeploymentTargetDbSystemDetails model)
-
-