Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Replica.Builder |
availabilityDomain(String availabilityDomain)
The name of the Availability Domain the read replica is located in.
|
Replica |
build() |
Replica.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the read replica.
|
Replica.Builder |
configurationId(String configurationId)
The OCID of the Configuration currently in use by the read replica.
|
Replica.Builder |
copy(Replica model) |
Replica.Builder |
dbSystemId(String dbSystemId)
The OCID of the DB System the read replica is associated with.
|
Replica.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Replica.Builder |
description(String description)
User provided description of the read replica.
|
Replica.Builder |
displayName(String displayName)
The user-friendly name for the read replica.
|
Replica.Builder |
faultDomain(String faultDomain)
The name of the Fault Domain the read replica is located in.
|
Replica.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Replica.Builder |
id(String id)
The OCID of the read replica.
|
Replica.Builder |
ipAddress(String ipAddress)
The IP address the read replica is configured to listen on.
|
Replica.Builder |
isDeleteProtected(Boolean isDeleteProtected)
Specifies whether the read replica can be deleted.
|
Replica.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the state of the read replica.
|
Replica.Builder |
lifecycleState(Replica.LifecycleState lifecycleState)
The state of the read replica.
|
Replica.Builder |
mysqlVersion(String mysqlVersion)
The MySQL version currently in use by the read replica.
|
Replica.Builder |
port(Integer port)
The port the read replica is configured to listen on.
|
Replica.Builder |
portX(Integer portX)
The TCP network port on which X Plugin listens for connections.
|
Replica.Builder |
replicaOverrides(ReplicaOverrides replicaOverrides) |
Replica.Builder |
secureConnections(SecureConnectionDetails secureConnections) |
Replica.Builder |
shapeName(String shapeName)
The shape currently in use by the read replica.
|
Replica.Builder |
timeCreated(Date timeCreated)
The date and time the read replica was created, as described by RFC
3339.
|
Replica.Builder |
timeUpdated(Date timeUpdated)
The time the read replica was last updated, as described by RFC
3339.
|
public Replica.Builder secureConnections(SecureConnectionDetails secureConnections)
public Replica.Builder id(String id)
The OCID of the read replica.
id
- the value to setpublic Replica.Builder dbSystemId(String dbSystemId)
The OCID of the DB System the read replica is associated with.
dbSystemId
- the value to setpublic Replica.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the read replica.
compartmentId
- the value to setpublic Replica.Builder displayName(String displayName)
The user-friendly name for the read replica. It does not have to be unique.
displayName
- the value to setpublic Replica.Builder description(String description)
User provided description of the read replica.
description
- the value to setpublic Replica.Builder lifecycleState(Replica.LifecycleState lifecycleState)
The state of the read replica.
lifecycleState
- the value to setpublic Replica.Builder lifecycleDetails(String lifecycleDetails)
A message describing the state of the read replica.
lifecycleDetails
- the value to setpublic Replica.Builder timeCreated(Date timeCreated)
The date and time the read replica was created, as described by RFC 3339.
timeCreated
- the value to setpublic Replica.Builder timeUpdated(Date timeUpdated)
The time the read replica was last updated, as described by RFC 3339.
timeUpdated
- the value to setpublic Replica.Builder mysqlVersion(String mysqlVersion)
The MySQL version currently in use by the read replica.
mysqlVersion
- the value to setpublic Replica.Builder availabilityDomain(String availabilityDomain)
The name of the Availability Domain the read replica is located in.
availabilityDomain
- the value to setpublic Replica.Builder faultDomain(String faultDomain)
The name of the Fault Domain the read replica is located in.
faultDomain
- the value to setpublic Replica.Builder ipAddress(String ipAddress)
The IP address the read replica is configured to listen on.
ipAddress
- the value to setpublic Replica.Builder port(Integer port)
The port the read replica is configured to listen on.
port
- the value to setpublic Replica.Builder portX(Integer portX)
The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
portX
- the value to setpublic Replica.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic Replica.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic Replica.Builder isDeleteProtected(Boolean isDeleteProtected)
Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.
isDeleteProtected
- the value to setpublic Replica.Builder shapeName(String shapeName)
The shape currently in use 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.
shapeName
- the value to setpublic Replica.Builder configurationId(String configurationId)
The OCID of the Configuration currently in use by the read replica.
configurationId
- the value to setpublic Replica.Builder replicaOverrides(ReplicaOverrides replicaOverrides)
public Replica build()
public Replica.Builder copy(Replica model)
Copyright © 2016–2024. All rights reserved.