Package com.oracle.bmc.mysql.model
Class DbSystemEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.model.DbSystemEndpoint.Builder
-
- Enclosing class:
- DbSystemEndpoint
public static class DbSystemEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbSystemEndpoint
build()
DbSystemEndpoint.Builder
copy(DbSystemEndpoint model)
DbSystemEndpoint.Builder
hostname(String hostname)
The network address of the DB System.DbSystemEndpoint.Builder
ipAddress(String ipAddress)
The IP address the DB System is configured to listen on.DbSystemEndpoint.Builder
modes(List<DbSystemEndpoint.Modes> modes)
The access modes from the client that this endpoint supports.DbSystemEndpoint.Builder
port(Integer port)
The port the MySQL instance listens on.DbSystemEndpoint.Builder
portX(Integer portX)
The network port where to connect to use this endpoint using the X protocol.DbSystemEndpoint.Builder
resourceId(String resourceId)
The OCID of the resource that this endpoint is attached to.DbSystemEndpoint.Builder
resourceType(DbSystemEndpoint.ResourceType resourceType)
The type of endpoint that clients and connectors can connect to.DbSystemEndpoint.Builder
status(DbSystemEndpoint.Status status)
The state of the endpoints, as far as it can seen from the DB System.DbSystemEndpoint.Builder
statusDetails(String statusDetails)
Additional information about the current endpoint status.
-
-
-
Method Detail
-
hostname
public DbSystemEndpoint.Builder hostname(String hostname)
The network address of the DB System.- Parameters:
hostname
- the value to set- Returns:
- this builder
-
ipAddress
public DbSystemEndpoint.Builder ipAddress(String ipAddress)
The IP address the DB System is configured to listen on.- Parameters:
ipAddress
- the value to set- Returns:
- this builder
-
port
public DbSystemEndpoint.Builder port(Integer port)
The port the MySQL instance listens on.- Parameters:
port
- the value to set- Returns:
- this builder
-
portX
public DbSystemEndpoint.Builder portX(Integer portX)
The network port where to connect to use this endpoint using the X protocol.- Parameters:
portX
- the value to set- Returns:
- this builder
-
modes
public DbSystemEndpoint.Builder modes(List<DbSystemEndpoint.Modes> modes)
The access modes from the client that this endpoint supports.- Parameters:
modes
- the value to set- Returns:
- this builder
-
status
public DbSystemEndpoint.Builder status(DbSystemEndpoint.Status status)
The state of the endpoints, as far as it can seen from the DB System.There may be some inconsistency with the actual state of the MySQL service.
- Parameters:
status
- the value to set- Returns:
- this builder
-
statusDetails
public DbSystemEndpoint.Builder statusDetails(String statusDetails)
Additional information about the current endpoint status.- Parameters:
statusDetails
- the value to set- Returns:
- this builder
-
resourceType
public DbSystemEndpoint.Builder resourceType(DbSystemEndpoint.ResourceType resourceType)
The type of endpoint that clients and connectors can connect to.- Parameters:
resourceType
- the value to set- Returns:
- this builder
-
resourceId
public DbSystemEndpoint.Builder resourceId(String resourceId)
The OCID of the resource that this endpoint is attached to.- Parameters:
resourceId
- the value to set- Returns:
- this builder
-
build
public DbSystemEndpoint build()
-
copy
public DbSystemEndpoint.Builder copy(DbSystemEndpoint model)
-
-