Package com.oracle.bmc.mysql.model
Class ControlledUpdateDbSystemDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.ControlledUpdateDbSystemDetails.Builder
-
- Enclosing class:
- ControlledUpdateDbSystemDetails
public static class ControlledUpdateDbSystemDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlledUpdateDbSystemDetailsbuild()ControlledUpdateDbSystemDetails.Buildercopy(ControlledUpdateDbSystemDetails model)ControlledUpdateDbSystemDetails.BuildertargetDbInstances(ControlledUpdateTargetDbInstances targetDbInstances)Defines the MySQL instances to be operated during a controlled update.ControlledUpdateDbSystemDetails.BuildertargetMysqlVersion(String targetMysqlVersion)The MySQL version to be applied to the selected instances.
-
-
-
Method Detail
-
targetMysqlVersion
public ControlledUpdateDbSystemDetails.Builder targetMysqlVersion(String targetMysqlVersion)
The MySQL version to be applied to the selected instances.- Parameters:
targetMysqlVersion- the value to set- Returns:
- this builder
-
targetDbInstances
public ControlledUpdateDbSystemDetails.Builder targetDbInstances(ControlledUpdateTargetDbInstances targetDbInstances)
Defines the MySQL instances to be operated during a controlled update.- ALL_BUT_PRIMARY: Update all MySQL instances in a highly available DB System except the primary group member, without triggering a controlled failover. - PRIMARY_ONLY: Update the primary group member in a highly available DB System after a controlled failover (downtime is expected). This operation requires that the other MySQL instances have been previously updated using the ALL_BUT_PRIMARY option.
- Parameters:
targetDbInstances- the value to set- Returns:
- this builder
-
build
public ControlledUpdateDbSystemDetails build()
-
copy
public ControlledUpdateDbSystemDetails.Builder copy(ControlledUpdateDbSystemDetails model)
-
-