Package com.vmware.nsx_policy.model
Class DhcpV6Lease.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DhcpV6Lease.Builder
-
- Enclosing class:
- DhcpV6Lease
public static final class DhcpV6Lease.Builder extends java.lang.Object
Builder class forDhcpV6Lease
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDhcpV6Lease
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DhcpV6Lease
build()
DhcpV6Lease.Builder
setDuid(java.lang.String duid)
DHCP unique identifierDhcpV6Lease.Builder
setExpireTime(java.lang.String expireTime)
expire time of the leaseDhcpV6Lease.Builder
setIaid(java.lang.Long iaid)
An identifier for an IA format: int64DhcpV6Lease.Builder
setIaType(java.lang.String iaType)
Possible values are:DhcpV6Lease.IA_TYPE_INVALID
DhcpV6Lease.IA_TYPE_NA
DhcpV6Lease.IA_TYPE_TA
DhcpV6Lease.IA_TYPE_PD
identity association typeDhcpV6Lease.Builder
setIpAddresses(java.util.List<java.lang.String> ipAddresses)
ip addresses of clientDhcpV6Lease.Builder
setLeaseTime(java.lang.String leaseTime)
lease time of the ip address, in secondsDhcpV6Lease.Builder
setStartTime(java.lang.String startTime)
start time of lease
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDhcpV6Lease
.
-
-
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.
-
setIaType
public DhcpV6Lease.Builder setIaType(java.lang.String iaType)
Possible values are: identity association type- Parameters:
iaType
- 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.
-
build
public DhcpV6Lease build()
-
-