Class ComputeHost
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.core.model.ComputeHost
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ComputeHost extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe customer facing object includes host details.
Note: Objects should always be created or deserialized using theComputeHost.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 theComputeHost.Builder, which maintain a set of all explicitly set fields calledComputeHost.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 classComputeHost.Builderstatic classComputeHost.HealthThe heathy state of the hoststatic classComputeHost.LifecycleStateThe lifecycle state of the host
-
Constructor Summary
Constructors Constructor Description ComputeHost(String availabilityDomain, String compartmentId, String id, String faultDomain, String hpcIslandId, String computeHostGroupId, ConfigurationState configurationState, Date timeConfigurationCheck, ComputeHostConfigurationData configurationData, RecycleDetails recycleDetails, String networkBlockId, String localBlockId, String gpuMemoryFabricId, String instanceId, String shape, ComputeHost.Health health, Map<String,Object> additionalData, ComputeHost.LifecycleState lifecycleState, Map<String,Object> lifecycleDetails, String capacityReservationId, Map<String,Object> impactedComponentDetails, 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 ComputeHost.Builderbuilder()Create a new builder.booleanequals(Object o)Map<String,Object>getAdditionalData()Additional data that can be exposed to the customer.StringgetAvailabilityDomain()The availability domain of the compute host.StringgetCapacityReservationId()The OCID for the Capacity Reserver that is currently on hostStringgetCompartmentId()The OCID for the compartment.StringgetComputeHostGroupId()The OCID for the Customer-unique host group associated with the Compute Bare Metal Host.ComputeHostConfigurationDatagetConfigurationData()ConfigurationStategetConfigurationState()Configuration state of the Compute Bare Metal Host.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDisplayName()A user-friendly name.StringgetFaultDomain()A fault domain is a grouping of hardware and infrastructure within an availability domain.Map<String,String>getFreeformTags()Free-form tags for this resource.StringgetGpuMemoryFabricId()The OCID for Customer-unique GPU Memory FabricComputeHost.HealthgetHealth()The heathy state of the hostStringgetHpcIslandId()The OCID for Customer-unique HPC IslandStringgetId()The OCID for the Customer-unique hostMap<String,Object>getImpactedComponentDetails()A list that contains impacted components related to an unhealthy host.StringgetInstanceId()The public OCID for the Virtual Machine or Bare Metal instanceMap<String,Object>getLifecycleDetails()A free-form description detailing why the host is in its current state.ComputeHost.LifecycleStategetLifecycleState()The lifecycle state of the hostStringgetLocalBlockId()The OCID for Customer-unique Local BlockStringgetNetworkBlockId()The OCID for Customer-unique Network BlockRecycleDetailsgetRecycleDetails()StringgetShape()The shape of hostDategetTimeConfigurationCheck()The date and time that the compute bare metal host configuration check was updated, in the format defined by RFC3339.DategetTimeCreated()The date and time that the compute host record was created, in the format defined by [RFC3339](https://tools .ietf.org/html/rfc3339).DategetTimeUpdated()The date and time that the compute host record was updated, in the format defined by RFC3339.inthashCode()ComputeHost.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ComputeHost
@Deprecated @ConstructorProperties({"availabilityDomain","compartmentId","id","faultDomain","hpcIslandId","computeHostGroupId","configurationState","timeConfigurationCheck","configurationData","recycleDetails","networkBlockId","localBlockId","gpuMemoryFabricId","instanceId","shape","health","additionalData","lifecycleState","lifecycleDetails","capacityReservationId","impactedComponentDetails","timeCreated","timeUpdated","definedTags","displayName","freeformTags"}) public ComputeHost(String availabilityDomain, String compartmentId, String id, String faultDomain, String hpcIslandId, String computeHostGroupId, ConfigurationState configurationState, Date timeConfigurationCheck, ComputeHostConfigurationData configurationData, RecycleDetails recycleDetails, String networkBlockId, String localBlockId, String gpuMemoryFabricId, String instanceId, String shape, ComputeHost.Health health, Map<String,Object> additionalData, ComputeHost.LifecycleState lifecycleState, Map<String,Object> lifecycleDetails, String capacityReservationId, Map<String,Object> impactedComponentDetails, Date timeCreated, Date timeUpdated, Map<String,Map<String,Object>> definedTags, String displayName, Map<String,String> freeformTags)
Deprecated.
-
-
Method Detail
-
builder
public static ComputeHost.Builder builder()
Create a new builder.
-
toBuilder
public ComputeHost.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
-
getComputeHostGroupId
public String getComputeHostGroupId()
The OCID for the Customer-unique host group associated with the Compute Bare Metal Host.- Returns:
- the value
-
getConfigurationState
public ConfigurationState getConfigurationState()
Configuration state of the Compute Bare Metal Host.- Returns:
- the value
-
getTimeConfigurationCheck
public Date getTimeConfigurationCheck()
The date and time that the compute bare metal host configuration check was updated, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Returns:
- the value
-
getConfigurationData
public ComputeHostConfigurationData getConfigurationData()
-
getRecycleDetails
public RecycleDetails getRecycleDetails()
-
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
-
getAdditionalData
public Map<String,Object> getAdditionalData()
Additional data that can be exposed to the customer.Will include raw fault codes for strategic customers
- Returns:
- the value
-
getLifecycleState
public ComputeHost.LifecycleState getLifecycleState()
The lifecycle state of the host- Returns:
- the value
-
getLifecycleDetails
public Map<String,Object> getLifecycleDetails()
A free-form description detailing why the host is in its current state.- Returns:
- the value
-
getCapacityReservationId
public String getCapacityReservationId()
The OCID for the Capacity Reserver that is currently on host- Returns:
- the value
-
getImpactedComponentDetails
public Map<String,Object> getImpactedComponentDetails()
A list that contains impacted components related to an unhealthy host.An impacted component will be a free-form structure of key values pairs that will provide more or less details based on data tiering
- 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:
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
-
-