Class ComputeHost


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class ComputeHost
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The customer facing object includes host details.
    Note: Objects should always be created or deserialized using the ComputeHost.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 ComputeHost.Builder, which maintain a set of all explicitly set fields called ComputeHost.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).
    • Method Detail

      • 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
      • getId

        public String getId()
        The OCID for the Customer-unique host
        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
      • 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
      • 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:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel