Package com.oracle.bmc.mysql.model
Class ReadEndpointDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.ReadEndpointDetails.Builder
-
- Enclosing class:
- ReadEndpointDetails
public static class ReadEndpointDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadEndpointDetails
build()
ReadEndpointDetails.Builder
copy(ReadEndpointDetails model)
ReadEndpointDetails.Builder
excludeIps(List<String> excludeIps)
A list of IP addresses of read replicas that are excluded from serving read requests.ReadEndpointDetails.Builder
isEnabled(Boolean isEnabled)
Specifies if the DB System read endpoint is enabled or not.ReadEndpointDetails.Builder
readEndpointHostnameLabel(String readEndpointHostnameLabel)
The hostname for the read endpoint of the DB System.ReadEndpointDetails.Builder
readEndpointIpAddress(String readEndpointIpAddress)
The IP address the DB System read endpoint is configured to listen on.
-
-
-
Method Detail
-
isEnabled
public ReadEndpointDetails.Builder isEnabled(Boolean isEnabled)
Specifies if the DB System read endpoint is enabled or not.- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
readEndpointIpAddress
public ReadEndpointDetails.Builder readEndpointIpAddress(String readEndpointIpAddress)
The IP address the DB System read endpoint is configured to listen on.A private IP address of your choice to assign to the read endpoint of the DB System. Must be an available IP address within the subnet’s CIDR. If you don’t specify a value, Oracle automatically assigns a private IP address from the subnet. This should be a “dotted-quad” style IPv4 address.
- Parameters:
readEndpointIpAddress
- the value to set- Returns:
- this builder
-
readEndpointHostnameLabel
public ReadEndpointDetails.Builder readEndpointHostnameLabel(String readEndpointHostnameLabel)
The hostname for the read endpoint of the DB System.Used for DNS.
The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, "dbsystem-1" in FQDN "dbsystem-1.subnet123.vcn1.oraclevcn.com").
Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
- Parameters:
readEndpointHostnameLabel
- the value to set- Returns:
- this builder
-
excludeIps
public ReadEndpointDetails.Builder excludeIps(List<String> excludeIps)
A list of IP addresses of read replicas that are excluded from serving read requests.- Parameters:
excludeIps
- the value to set- Returns:
- this builder
-
build
public ReadEndpointDetails build()
-
copy
public ReadEndpointDetails.Builder copy(ReadEndpointDetails model)
-
-