public static class DbSystemEndpoint.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public DbSystemEndpoint.Builder hostname(String hostname)
The network address of the DB System.
hostname
- the value to setpublic DbSystemEndpoint.Builder ipAddress(String ipAddress)
The IP address the DB System is configured to listen on.
ipAddress
- the value to setpublic DbSystemEndpoint.Builder port(Integer port)
The port the MySQL instance listens on.
port
- the value to setpublic DbSystemEndpoint.Builder portX(Integer portX)
The network port where to connect to use this endpoint using the X protocol.
portX
- the value to setpublic DbSystemEndpoint.Builder modes(List<DbSystemEndpoint.Modes> modes)
The access modes from the client that this endpoint supports.
modes
- the value to setpublic 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.
status
- the value to setpublic DbSystemEndpoint.Builder statusDetails(String statusDetails)
Additional information about the current endpoint status.
statusDetails
- the value to setpublic DbSystemEndpoint.Builder resourceType(DbSystemEndpoint.ResourceType resourceType)
The type of endpoint that clients and connectors can connect to.
resourceType
- the value to setpublic DbSystemEndpoint.Builder resourceId(String resourceId)
The OCID of the resource that this endpoint is attached to.
resourceId
- the value to setpublic DbSystemEndpoint build()
public DbSystemEndpoint.Builder copy(DbSystemEndpoint model)
Copyright © 2016–2024. All rights reserved.