Class ExadataInfrastructureUsageMetrics
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.ExadataInfrastructureUsageMetrics
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class ExadataInfrastructureUsageMetrics extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe list of aggregated metrics for Exadata infrastructures in the fleet.
Note: Objects should always be created or deserialized using theExadataInfrastructureUsageMetrics.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 theExadataInfrastructureUsageMetrics.Builder, which maintain a set of all explicitly set fields calledExadataInfrastructureUsageMetrics.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExadataInfrastructureUsageMetrics.Builderstatic classExadataInfrastructureUsageMetrics.RackSizeThe size of the Exadata infrastructure.
-
Constructor Summary
Constructors Constructor Description ExadataInfrastructureUsageMetrics(String infrastructureId, String compartmentId, ExadataInfrastructureDeploymentType deploymentType, String infrastructureName, ExadataInfrastructureLifecycleStateValues.State state, Integer numberOfDbSystems, ExadataInfrastructureUsageMetrics.RackSize rackSize, Integer storageServerCount, List<ExadataFleetMetricDefinition> metrics)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExadataInfrastructureUsageMetrics.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment where the Exadata infrastructure resides.ExadataInfrastructureDeploymentTypegetDeploymentType()The Exadata infrastructure deployment type.StringgetInfrastructureId()The OCID of the Exadata infrastructure.StringgetInfrastructureName()The display name of the Exadata infrastructure.List<ExadataFleetMetricDefinition>getMetrics()A list of the health metrics like CPU, Storage, and Memory.IntegergetNumberOfDbSystems()The number of Database Systems created on the Exadata infrastructure.ExadataInfrastructureUsageMetrics.RackSizegetRackSize()The size of the Exadata infrastructure.ExadataInfrastructureLifecycleStateValues.StategetState()The lifecycle state of the Exadata infrastructure.IntegergetStorageServerCount()The number of storage server for the Exadata infrastructure.inthashCode()ExadataInfrastructureUsageMetrics.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ExadataInfrastructureUsageMetrics
@Deprecated @ConstructorProperties({"infrastructureId","compartmentId","deploymentType","infrastructureName","state","numberOfDbSystems","rackSize","storageServerCount","metrics"}) public ExadataInfrastructureUsageMetrics(String infrastructureId, String compartmentId, ExadataInfrastructureDeploymentType deploymentType, String infrastructureName, ExadataInfrastructureLifecycleStateValues.State state, Integer numberOfDbSystems, ExadataInfrastructureUsageMetrics.RackSize rackSize, Integer storageServerCount, List<ExadataFleetMetricDefinition> metrics)
Deprecated.
-
-
Method Detail
-
builder
public static ExadataInfrastructureUsageMetrics.Builder builder()
Create a new builder.
-
toBuilder
public ExadataInfrastructureUsageMetrics.Builder toBuilder()
-
getInfrastructureId
public String getInfrastructureId()
The OCID of the Exadata infrastructure.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment where the Exadata infrastructure resides.- Returns:
- the value
-
getDeploymentType
public ExadataInfrastructureDeploymentType getDeploymentType()
The Exadata infrastructure deployment type.- Returns:
- the value
-
getInfrastructureName
public String getInfrastructureName()
The display name of the Exadata infrastructure.- Returns:
- the value
-
getState
public ExadataInfrastructureLifecycleStateValues.State getState()
The lifecycle state of the Exadata infrastructure.- Returns:
- the value
-
getNumberOfDbSystems
public Integer getNumberOfDbSystems()
The number of Database Systems created on the Exadata infrastructure.- Returns:
- the value
-
getRackSize
public ExadataInfrastructureUsageMetrics.RackSize getRackSize()
The size of the Exadata infrastructure.- Returns:
- the value
-
getStorageServerCount
public Integer getStorageServerCount()
The number of storage server for the Exadata infrastructure.- Returns:
- the value
-
getMetrics
public List<ExadataFleetMetricDefinition> getMetrics()
A list of the health metrics like CPU, Storage, and Memory.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-