Class 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 the ComputeHostSummary.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 ComputeHostSummary.Builder, which maintain a set of all explicitly set fields called ComputeHostSummary.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
      • 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
      • 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 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