Class DbSystemEndpoint.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • 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