Class IpAddress.Builder

  • Enclosing class:
    IpAddress

    public static class IpAddress.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • ipAddress

        public IpAddress.Builder ipAddress​(String ipAddress)
        An IP address.

        Example: 192.168.0.3

        Parameters:
        ipAddress - the value to set
        Returns:
        this builder
      • isPublic

        public IpAddress.Builder isPublic​(Boolean isPublic)
        Whether the IP address is public or private.

        If "true", then the IP address is public and accessible from the internet.

        If "false", then the IP address is private and accessible only from within the associated virtual cloud network.

        Parameters:
        isPublic - the value to set
        Returns:
        this builder
      • ipVersion

        public IpAddress.Builder ipVersion​(IpVersion ipVersion)
        IP version associated with this IP address.
        Parameters:
        ipVersion - the value to set
        Returns:
        this builder