@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class HostAllocation extends DatabaseConfigurationMetricGroup
Resource Allocation metric for the host
HostAllocation.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 HostAllocation.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 |
HostAllocation.Builder |
DatabaseConfigurationMetricGroup.MetricName
Constructor and Description |
---|
HostAllocation(Date timeCollected,
String resourceName,
Long resourceValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HostAllocation.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getResourceName()
Name of the host resource
|
Long |
getResourceValue()
Value of the host resource
|
int |
hashCode() |
HostAllocation.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getTimeCollected
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public HostAllocation(Date timeCollected, String resourceName, Long resourceValue)
public static HostAllocation.Builder builder()
Create a new builder.
public HostAllocation.Builder toBuilder()
public String getResourceName()
Name of the host resource
public Long getResourceValue()
Value of the host resource
public String toString()
toString
in class DatabaseConfigurationMetricGroup
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class DatabaseConfigurationMetricGroup
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class DatabaseConfigurationMetricGroup
public int hashCode()
hashCode
in class DatabaseConfigurationMetricGroup
Copyright © 2016–2024. All rights reserved.