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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DbSystemEndpointbuild()DbSystemEndpoint.Buildercopy(DbSystemEndpoint model)DbSystemEndpoint.Builderhostname(String hostname)The network address of the DB System.DbSystemEndpoint.BuilderipAddress(String ipAddress)The IP address the DB System is configured to listen on.DbSystemEndpoint.Buildermodes(List<DbSystemEndpoint.Modes> modes)The access modes from the client that this endpoint supports.DbSystemEndpoint.Builderport(Integer port)The port the MySQL instance listens on.DbSystemEndpoint.BuilderportX(Integer portX)The network port where to connect to use this endpoint using the X protocol.DbSystemEndpoint.BuilderresourceId(String resourceId)The OCID of the resource that this endpoint is attached to.DbSystemEndpoint.BuilderresourceType(DbSystemEndpoint.ResourceType resourceType)The type of endpoint that clients and connectors can connect to.DbSystemEndpoint.Builderstatus(DbSystemEndpoint.Status status)The state of the endpoints, as far as it can seen from the DB System.DbSystemEndpoint.BuilderstatusDetails(String statusDetails)Additional information about the current endpoint status.
 
- 
- 
- 
Method Detail- 
hostnamepublic DbSystemEndpoint.Builder hostname(String hostname) The network address of the DB System.- Parameters:
- hostname- the value to set
- Returns:
- this builder
 
 - 
ipAddresspublic 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
 
 - 
portpublic DbSystemEndpoint.Builder port(Integer port) The port the MySQL instance listens on.- Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
portXpublic 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
 
 - 
modespublic 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
 
 - 
statuspublic 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
 
 - 
statusDetailspublic DbSystemEndpoint.Builder statusDetails(String statusDetails) Additional information about the current endpoint status.- Parameters:
- statusDetails- the value to set
- Returns:
- this builder
 
 - 
resourceTypepublic 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
 
 - 
resourceIdpublic 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
 
 - 
buildpublic DbSystemEndpoint build() 
 - 
copypublic DbSystemEndpoint.Builder copy(DbSystemEndpoint model) 
 
- 
 
-