@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class HostCpuRecommendations extends HostInsightHostRecommendations
Contains CPU recommendation.
Note: Objects should always be created or deserialized using the HostCpuRecommendations.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 HostCpuRecommendations.Builder
, which maintain a
set of all explicitly set fields called HostCpuRecommendations.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 |
HostCpuRecommendations.Builder |
static class |
HostCpuRecommendations.Burstable
Show if OPSI recommends to convert an instance to a burstable instance and show recommended
cpu baseline if positive recommendation.
|
static class |
HostCpuRecommendations.UnusedInstance
Identify unused instances based on cpu, memory and network metrics.
|
HostInsightHostRecommendations.MetricRecommendationName
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
HostCpuRecommendations(HostCpuRecommendations.Burstable burstable,
String shape,
HostCpuRecommendations.UnusedInstance unusedInstance,
Boolean isAbandonedInstance)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HostCpuRecommendations.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
HostCpuRecommendations.Burstable |
getBurstable()
Show if OPSI recommends to convert an instance to a burstable instance and show recommended
cpu baseline if positive recommendation.
|
Boolean |
getIsAbandonedInstance()
Identify if an instance is abandoned.
|
String |
getShape()
Show if OPSI recommends to change the shape of an instance and show recommended shape based
on CPU utilization.
|
HostCpuRecommendations.UnusedInstance |
getUnusedInstance()
Identify unused instances based on cpu, memory and network metrics.
|
int |
hashCode() |
HostCpuRecommendations.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public HostCpuRecommendations(HostCpuRecommendations.Burstable burstable, String shape, HostCpuRecommendations.UnusedInstance unusedInstance, Boolean isAbandonedInstance)
public static HostCpuRecommendations.Builder builder()
Create a new builder.
public HostCpuRecommendations.Builder toBuilder()
public HostCpuRecommendations.Burstable getBurstable()
Show if OPSI recommends to convert an instance to a burstable instance and show recommended cpu baseline if positive recommendation.
public String getShape()
Show if OPSI recommends to change the shape of an instance and show recommended shape based on CPU utilization.
public HostCpuRecommendations.UnusedInstance getUnusedInstance()
Identify unused instances based on cpu, memory and network metrics.
public Boolean getIsAbandonedInstance()
Identify if an instance is abandoned.
public String toString()
toString
in class HostInsightHostRecommendations
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class HostInsightHostRecommendations
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class HostInsightHostRecommendations
public int hashCode()
hashCode
in class HostInsightHostRecommendations
Copyright © 2016–2024. All rights reserved.