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.
    • Constructor Detail

      • Builder

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

      • setIpAddresses

        public IPInfo.Builder setIpAddresses​(java.util.List<java.lang.String> ipAddresses)
        IP Addresses format: ip
        Parameters:
        ipAddresses - New value for the property.
      • setPrefixLength

        public IPInfo.Builder setPrefixLength​(java.lang.Long prefixLength)
        Subnet Prefix Length format: int64
        Parameters:
        prefixLength - New value for the property.
      • build

        public IPInfo build()