public static class HostNetworkConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HostNetworkConfiguration |
build() |
HostNetworkConfiguration.Builder |
copy(HostNetworkConfiguration model) |
HostNetworkConfiguration.Builder |
interfaceName(String interfaceName)
Name of the network interface
|
HostNetworkConfiguration.Builder |
ipAddress(String ipAddress)
IP address (IPv4 or IPv6) of the network interface
|
HostNetworkConfiguration.Builder |
macAddress(String macAddress)
MAC address of the network interface.
|
HostNetworkConfiguration.Builder |
timeCollected(Date timeCollected) |
public HostNetworkConfiguration.Builder timeCollected(Date timeCollected)
public HostNetworkConfiguration.Builder interfaceName(String interfaceName)
Name of the network interface
interfaceName
- the value to setpublic HostNetworkConfiguration.Builder ipAddress(String ipAddress)
IP address (IPv4 or IPv6) of the network interface
ipAddress
- the value to setpublic HostNetworkConfiguration.Builder macAddress(String macAddress)
MAC address of the network interface. MAC address is a 12-digit hexadecimal number separated by colons or dashes or dots. Following formats are accepted: MM:MM:MM:SS:SS:SS, MM-MM-MM-SS-SS-SS, MM.MM.MM.SS.SS.SS, MMM:MMM:SSS:SSS, MMM-MMM-SSS-SSS, MMM.MMM.SSS.SSS, MMMM:MMSS:SSSS, MMMM-MMSS-SSSS, MMMM.MMSS.SSSS
macAddress
- the value to setpublic HostNetworkConfiguration build()
public HostNetworkConfiguration.Builder copy(HostNetworkConfiguration model)
Copyright © 2016–2024. All rights reserved.