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", the IP address is public and accessible from the internet.

        If "false", the IP address is private and accessible only from within the associated VCN.

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