Package com.vmware.nsx_policy.model
Class DhcpLeasePerIP.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DhcpLeasePerIP.Builder
-
- Enclosing class:
- DhcpLeasePerIP
public static final class DhcpLeasePerIP.Builder extends java.lang.Object
Builder class forDhcpLeasePerIP
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofDhcpLeasePerIP
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DhcpLeasePerIP
build()
DhcpLeasePerIP.Builder
setExpireTime(java.lang.String expireTime)
expire time of the leaseDhcpLeasePerIP.Builder
setIpAddress(java.lang.String ipAddress)
ip address of clientDhcpLeasePerIP.Builder
setLeaseTime(java.lang.String leaseTime)
lease time of the ip address, in secondsDhcpLeasePerIP.Builder
setMacAddress(java.lang.String macAddress)
mac address of clientDhcpLeasePerIP.Builder
setStartTime(java.lang.String startTime)
start time of leaseDhcpLeasePerIP.Builder
setSubnet(java.lang.String subnet)
subnet of client network
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDhcpLeasePerIP
.
-
-
Method Detail
-
setExpireTime
public DhcpLeasePerIP.Builder setExpireTime(java.lang.String expireTime)
expire time of the lease- Parameters:
expireTime
- New value for the property.
-
setIpAddress
public DhcpLeasePerIP.Builder setIpAddress(java.lang.String ipAddress)
ip address of client- Parameters:
ipAddress
- New value for the property.
-
setLeaseTime
public DhcpLeasePerIP.Builder setLeaseTime(java.lang.String leaseTime)
lease time of the ip address, in seconds- Parameters:
leaseTime
- New value for the property.
-
setMacAddress
public DhcpLeasePerIP.Builder setMacAddress(java.lang.String macAddress)
mac address of client- Parameters:
macAddress
- New value for the property.
-
setStartTime
public DhcpLeasePerIP.Builder setStartTime(java.lang.String startTime)
start time of lease- Parameters:
startTime
- New value for the property.
-
setSubnet
public DhcpLeasePerIP.Builder setSubnet(java.lang.String subnet)
subnet of client network- Parameters:
subnet
- New value for the property.
-
build
public DhcpLeasePerIP build()
-
-