Class DhcpV6Lease.Builder

  • Enclosing class:
    DhcpV6Lease

    public static final class DhcpV6Lease.Builder
    extends java.lang.Object
    Builder class for DhcpV6Lease.
    • Constructor Detail

      • Builder

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

      • setDuid

        public DhcpV6Lease.Builder setDuid​(java.lang.String duid)
        DHCP unique identifier
        Parameters:
        duid - New value for the property.
      • setExpireTime

        public DhcpV6Lease.Builder setExpireTime​(java.lang.String expireTime)
        expire time of the lease
        Parameters:
        expireTime - New value for the property.
      • setIaid

        public DhcpV6Lease.Builder setIaid​(java.lang.Long iaid)
        An identifier for an IA format: int64
        Parameters:
        iaid - New value for the property.
      • setIpAddresses

        public DhcpV6Lease.Builder setIpAddresses​(java.util.List<java.lang.String> ipAddresses)
        ip addresses of client
        Parameters:
        ipAddresses - New value for the property.
      • setLeaseTime

        public DhcpV6Lease.Builder setLeaseTime​(java.lang.String leaseTime)
        lease time of the ip address, in seconds
        Parameters:
        leaseTime - New value for the property.
      • setStartTime

        public DhcpV6Lease.Builder setStartTime​(java.lang.String startTime)
        start time of lease
        Parameters:
        startTime - New value for the property.