@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class HostNetworkConfiguration extends HostConfigurationMetricGroup
Network Configuration metric for the host
HostNetworkConfiguration.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the HostNetworkConfiguration.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
HostNetworkConfiguration.Builder |
HostConfigurationMetricGroup.MetricName
Constructor and Description |
---|
HostNetworkConfiguration(Date timeCollected,
String interfaceName,
String ipAddress,
String macAddress)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HostNetworkConfiguration.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getInterfaceName()
Name of the network interface
|
String |
getIpAddress()
IP address (IPv4 or IPv6) of the network interface
|
String |
getMacAddress()
MAC address of the network interface.
|
int |
hashCode() |
HostNetworkConfiguration.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getTimeCollected
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public HostNetworkConfiguration(Date timeCollected, String interfaceName, String ipAddress, String macAddress)
public static HostNetworkConfiguration.Builder builder()
Create a new builder.
public HostNetworkConfiguration.Builder toBuilder()
public String getInterfaceName()
Name of the network interface
public String getIpAddress()
IP address (IPv4 or IPv6) of the network interface
public String getMacAddress()
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
public String toString()
toString
in class HostConfigurationMetricGroup
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class HostConfigurationMetricGroup
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class HostConfigurationMetricGroup
public int hashCode()
hashCode
in class HostConfigurationMetricGroup
Copyright © 2016–2023. All rights reserved.