Package com.oracle.bmc.mysql.model
Class UpdateReadEndpointDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.UpdateReadEndpointDetails.Builder
-
- Enclosing class:
- UpdateReadEndpointDetails
public static class UpdateReadEndpointDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateReadEndpointDetails
build()
UpdateReadEndpointDetails.Builder
copy(UpdateReadEndpointDetails model)
UpdateReadEndpointDetails.Builder
excludeIps(List<String> excludeIps)
A list of IP addresses of read replicas that are excluded from serving read requests.UpdateReadEndpointDetails.Builder
isEnabled(Boolean isEnabled)
Specifies if the DB System read endpoint is enabled or not.UpdateReadEndpointDetails.Builder
readEndpointHostnameLabel(String readEndpointHostnameLabel)
The hostname for the read endpoint of the DB System.UpdateReadEndpointDetails.Builder
readEndpointIpAddress(String readEndpointIpAddress)
The IP address the DB System read endpoint is configured to listen on.
-
-
-
Method Detail
-
isEnabled
public UpdateReadEndpointDetails.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 UpdateReadEndpointDetails.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 UpdateReadEndpointDetails.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 UpdateReadEndpointDetails.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 UpdateReadEndpointDetails build()
-
copy
public UpdateReadEndpointDetails.Builder copy(UpdateReadEndpointDetails model)
-
-