Class ComputeHostSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.core.model.ComputeHostSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ComputeHostSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary information for a compute host.
Note: Objects should always be created or deserialized using theComputeHostSummary.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 theComputeHostSummary.Builder
, which maintain a set of all explicitly set fields calledComputeHostSummary.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 class
ComputeHostSummary.Builder
-
Constructor Summary
Constructors Constructor Description ComputeHostSummary(String availabilityDomain, String compartmentId, String id, String faultDomain, String hpcIslandId, String networkBlockId, String localBlockId, String gpuMemoryFabricId, String instanceId, String shape, ComputeHost.Health health, ComputeHost.LifecycleState lifecycleState, String capacityReservationId, Boolean hasImpactedComponents, Date timeCreated, Date timeUpdated, Map<String,Map<String,Object>> definedTags, String displayName, Map<String,String> freeformTags)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComputeHostSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAvailabilityDomain()
The availability domain of the compute host.String
getCapacityReservationId()
The OCID for the Capacity Reserver that is currently on hostString
getCompartmentId()
The OCID for the compartment.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDisplayName()
A user-friendly name.String
getFaultDomain()
A fault domain is a grouping of hardware and infrastructure within an availability domain.Map<String,String>
getFreeformTags()
Free-form tags for this resource.String
getGpuMemoryFabricId()
The OCID for Customer-unique GPU Memory FabricBoolean
getHasImpactedComponents()
While listing a host the user will know if they have an impacted component or not.ComputeHost.Health
getHealth()
The heathy state of the hostString
getHpcIslandId()
The OCID for Customer-unique HPC IslandString
getId()
The OCID for the Customer-unique hostString
getInstanceId()
The public OCID for the Virtual Machine or Bare Metal instanceComputeHost.LifecycleState
getLifecycleState()
The lifecycle state of the hostString
getLocalBlockId()
The OCID for Customer-unique Local BlockString
getNetworkBlockId()
The OCID for Customer-unique Network BlockString
getShape()
The shape of hostDate
getTimeCreated()
The date and time that the compute host record was created, in the format defined by [RFC3339](https://tools .ietf.org/html/rfc3339).Date
getTimeUpdated()
The date and time that the compute host record was updated, in the format defined by RFC3339.int
hashCode()
ComputeHostSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ComputeHostSummary
@Deprecated @ConstructorProperties({"availabilityDomain","compartmentId","id","faultDomain","hpcIslandId","networkBlockId","localBlockId","gpuMemoryFabricId","instanceId","shape","health","lifecycleState","capacityReservationId","hasImpactedComponents","timeCreated","timeUpdated","definedTags","displayName","freeformTags"}) public ComputeHostSummary(String availabilityDomain, String compartmentId, String id, String faultDomain, String hpcIslandId, String networkBlockId, String localBlockId, String gpuMemoryFabricId, String instanceId, String shape, ComputeHost.Health health, ComputeHost.LifecycleState lifecycleState, String capacityReservationId, Boolean hasImpactedComponents, Date timeCreated, Date timeUpdated, Map<String,Map<String,Object>> definedTags, String displayName, Map<String,String> freeformTags)
Deprecated.
-
-
Method Detail
-
builder
public static ComputeHostSummary.Builder builder()
Create a new builder.
-
toBuilder
public ComputeHostSummary.Builder toBuilder()
-
getAvailabilityDomain
public String getAvailabilityDomain()
The availability domain of the compute host.Example: Uocm:US-CHICAGO-1-AD-2
- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID for the compartment.This should always be the root compartment.
- Returns:
- the value
-
getFaultDomain
public String getFaultDomain()
A fault domain is a grouping of hardware and infrastructure within an availability domain.Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
This field is the Fault domain of the host
- Returns:
- the value
-
getHpcIslandId
public String getHpcIslandId()
The OCID for Customer-unique HPC Island- Returns:
- the value
-
getNetworkBlockId
public String getNetworkBlockId()
The OCID for Customer-unique Network Block- Returns:
- the value
-
getLocalBlockId
public String getLocalBlockId()
The OCID for Customer-unique Local Block- Returns:
- the value
-
getGpuMemoryFabricId
public String getGpuMemoryFabricId()
The OCID for Customer-unique GPU Memory Fabric- Returns:
- the value
-
getInstanceId
public String getInstanceId()
The public OCID for the Virtual Machine or Bare Metal instance- Returns:
- the value
-
getShape
public String getShape()
The shape of host- Returns:
- the value
-
getHealth
public ComputeHost.Health getHealth()
The heathy state of the host- Returns:
- the value
-
getLifecycleState
public ComputeHost.LifecycleState getLifecycleState()
The lifecycle state of the host- Returns:
- the value
-
getCapacityReservationId
public String getCapacityReservationId()
The OCID for the Capacity Reserver that is currently on host- Returns:
- the value
-
getHasImpactedComponents
public Boolean getHasImpactedComponents()
While listing a host the user will know if they have an impacted component or not.The user will have to issue a get host to see details.
- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time that the compute host record was created, in the format defined by [RFC3339](https://tools .ietf.org/html/rfc3339).Example: 2016-08-25T21:10:29.600Z
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time that the compute host record was updated, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Returns:
- the value
-
getDisplayName
public String getDisplayName()
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-