Package io.vertx.pgclient.data

## Class Inet

- java.lang.Object
- - io.vertx.pgclient.data.Inet

-     public class Inet
      extends Object

  A PosgreSQL inet network address.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Inet()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `InetAddress` | `getAddress()` |
    `Integer` | `getNetmask()` |
    `Inet` | `setAddress​(InetAddress address)` | Set the inet address
    `Inet` | `setNetmask​(Integer netmask)` | Set a netmask.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Inet

          public Inet()

  - ### Method Detail

    - #### getAddress

          public InetAddress getAddress()

      Returns:
        the inet address

    - #### setAddress

          public Inet setAddress​(InetAddress address)

      Set the inet address
      Parameters:
        `address` -
      Returns:
        a reference to this, so the API can be used fluently

    - #### getNetmask

          public Integer getNetmask()

      Returns:
        the optional netmask

    - #### setNetmask

          public Inet setNetmask​(Integer netmask)

      Set a netmask.
      Parameters:
        `netmask` - the netmask
      Returns:
        a reference to this, so the API can be used fluently