@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class HostNetworkActivitySummary extends HostPerformanceMetricGroup
Network Activity Summary metric for the host
Note: Objects should always be created or deserialized using the HostNetworkActivitySummary.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 HostNetworkActivitySummary.Builder
, which maintain a
set of all explicitly set fields called HostNetworkActivitySummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
HostNetworkActivitySummary.Builder |
HostPerformanceMetricGroup.MetricName
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
HostNetworkActivitySummary(Date timeCollected,
String interfaceName,
Double allNetworkReadInMbps,
Double allNetworkWriteInMbps,
Double allNetworkIoInMbps)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HostNetworkActivitySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Double |
getAllNetworkIoInMbps()
All network interfaces IO rate in Mbps
|
Double |
getAllNetworkReadInMbps()
All network interfaces read rate in Mbps
|
Double |
getAllNetworkWriteInMbps()
All network interfaces write rate in Mbps
|
String |
getInterfaceName()
Name of the network interface
|
int |
hashCode() |
HostNetworkActivitySummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getTimeCollected
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static HostNetworkActivitySummary.Builder builder()
Create a new builder.
public HostNetworkActivitySummary.Builder toBuilder()
public String getInterfaceName()
Name of the network interface
public Double getAllNetworkReadInMbps()
All network interfaces read rate in Mbps
public Double getAllNetworkWriteInMbps()
All network interfaces write rate in Mbps
public Double getAllNetworkIoInMbps()
All network interfaces IO rate in Mbps
public String toString()
toString
in class HostPerformanceMetricGroup
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class HostPerformanceMetricGroup
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class HostPerformanceMetricGroup
public int hashCode()
hashCode
in class HostPerformanceMetricGroup
Copyright © 2016–2024. All rights reserved.