Class PolicyPoolUsage.Builder

    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PolicyPoolUsage build()  
      PolicyPoolUsage.Builder setAllocatedIpAllocations​(java.lang.Long allocatedIpAllocations)
      Total number of allocated IPs shown are from NSX manager.
      PolicyPoolUsage.Builder setAvailableIps​(java.lang.Long availableIps)
      Total number of available IPs in a IpAddressPool format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
      PolicyPoolUsage.Builder setRequestedIpAllocations​(java.lang.Long requestedIpAllocations)
      Total number of requested IP allocations in a IpAddressPool format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
      PolicyPoolUsage.Builder setTotalIps​(java.lang.Long totalIps)
      Total number of IPs in a IpAddressPool format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
      • 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 PolicyPoolUsage.
    • Method Detail

      • setAllocatedIpAllocations

        public PolicyPoolUsage.Builder setAllocatedIpAllocations​(java.lang.Long allocatedIpAllocations)
        Total number of allocated IPs shown are from NSX manager. NSX manager uses default release delay of 2 mins. Till this delay passes, IPs will be shown as allocated (and counted in allocated ips). In this period of time there could be mismatch in requested_ip_allocations and allocated_ip_allocations. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        allocatedIpAllocations - New value for the property.
      • setAvailableIps

        public PolicyPoolUsage.Builder setAvailableIps​(java.lang.Long availableIps)
        Total number of available IPs in a IpAddressPool format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        availableIps - New value for the property.
      • setRequestedIpAllocations

        public PolicyPoolUsage.Builder setRequestedIpAllocations​(java.lang.Long requestedIpAllocations)
        Total number of requested IP allocations in a IpAddressPool format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        requestedIpAllocations - New value for the property.
      • setTotalIps

        public PolicyPoolUsage.Builder setTotalIps​(java.lang.Long totalIps)
        Total number of IPs in a IpAddressPool format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        totalIps - New value for the property.