Package com.oracle.bmc.mysql.model
Class ControlledUpdate.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.ControlledUpdate.Builder
-
- Enclosing class:
- ControlledUpdate
public static class ControlledUpdate.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlledUpdatebuild()ControlledUpdate.Buildercopy(ControlledUpdate model)ControlledUpdate.BuildertargetDbInstances(ControlledUpdateTargetDbInstances targetDbInstances)Defines the MySQL instances to be operated during a controlled update.ControlledUpdate.BuildertargetMysqlVersion(String targetMysqlVersion)The MySQL version to be applied to the selected instances.
-
-
-
Method Detail
-
targetMysqlVersion
public ControlledUpdate.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 ControlledUpdate.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 ControlledUpdate build()
-
copy
public ControlledUpdate.Builder copy(ControlledUpdate model)
-
-