Class IpInfo.Builder

  • Enclosing class:
    IpInfo

    public static final class IpInfo.Builder
    extends java.lang.Object
    Builder class for IpInfo.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of IpInfo.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IpInfo build()  
      IpInfo.Builder setDstIp​(java.lang.String dstIp)
      The destination IP can be an IP address or a subnet.
      IpInfo.Builder setSrcIp​(java.lang.String srcIp)
      The source IP can be an IP address or a subnet.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of IpInfo.
    • Method Detail

      • setDstIp

        public IpInfo.Builder setDstIp​(java.lang.String dstIp)
        The destination IP can be an IP address or a subnet. format: address-or-block-or-range
        Parameters:
        dstIp - New value for the property.
      • setSrcIp

        public IpInfo.Builder setSrcIp​(java.lang.String srcIp)
        The source IP can be an IP address or a subnet. format: address-or-block-or-range
        Parameters:
        srcIp - New value for the property.
      • build

        public IpInfo build()