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