Package com.oracle.bmc.mysql.model
Class ReplicaOverrides.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.ReplicaOverrides.Builder
-
- Enclosing class:
- ReplicaOverrides
public static class ReplicaOverrides.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicaOverrides
build()
ReplicaOverrides.Builder
configurationId(String configurationId)
The OCID of the Configuration to be used by the read replica.ReplicaOverrides.Builder
copy(ReplicaOverrides model)
ReplicaOverrides.Builder
mysqlVersion(String mysqlVersion)
The MySQL version to be used by the read replica.ReplicaOverrides.Builder
shapeName(String shapeName)
The shape to be used by the read replica.
-
-
-
Method Detail
-
mysqlVersion
public ReplicaOverrides.Builder mysqlVersion(String mysqlVersion)
The MySQL version to be used by the read replica.- Parameters:
mysqlVersion
- the value to set- Returns:
- this builder
-
shapeName
public ReplicaOverrides.Builder shapeName(String shapeName)
The shape to be used by the read replica.The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the
listShapes
operation.- Parameters:
shapeName
- the value to set- Returns:
- this builder
-
configurationId
public ReplicaOverrides.Builder configurationId(String configurationId)
The OCID of the Configuration to be used by the read replica.- Parameters:
configurationId
- the value to set- Returns:
- this builder
-
build
public ReplicaOverrides build()
-
copy
public ReplicaOverrides.Builder copy(ReplicaOverrides model)
-
-