Class ComputeHost.Builder

  • Enclosing class:
    ComputeHost

    public static class ComputeHost.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • availabilityDomain

        public ComputeHost.Builder availabilityDomain​(String availabilityDomain)
        The availability domain of the compute host.

        Example: Uocm:US-CHICAGO-1-AD-2

        Parameters:
        availabilityDomain - the value to set
        Returns:
        this builder
      • compartmentId

        public ComputeHost.Builder compartmentId​(String compartmentId)
        The OCID for the compartment.

        This should always be the root compartment.

        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • id

        public ComputeHost.Builder id​(String id)
        The OCID for the Customer-unique host
        Parameters:
        id - the value to set
        Returns:
        this builder
      • faultDomain

        public ComputeHost.Builder faultDomain​(String faultDomain)
        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

        Parameters:
        faultDomain - the value to set
        Returns:
        this builder
      • hpcIslandId

        public ComputeHost.Builder hpcIslandId​(String hpcIslandId)
        The OCID for Customer-unique HPC Island
        Parameters:
        hpcIslandId - the value to set
        Returns:
        this builder
      • computeHostGroupId

        public ComputeHost.Builder computeHostGroupId​(String computeHostGroupId)
        The OCID for the Customer-unique host group associated with the Compute Bare Metal Host.
        Parameters:
        computeHostGroupId - the value to set
        Returns:
        this builder
      • configurationState

        public ComputeHost.Builder configurationState​(ConfigurationState configurationState)
        Configuration state of the Compute Bare Metal Host.
        Parameters:
        configurationState - the value to set
        Returns:
        this builder
      • timeConfigurationCheck

        public ComputeHost.Builder timeConfigurationCheck​(Date timeConfigurationCheck)
        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

        Parameters:
        timeConfigurationCheck - the value to set
        Returns:
        this builder
      • networkBlockId

        public ComputeHost.Builder networkBlockId​(String networkBlockId)
        The OCID for Customer-unique Network Block
        Parameters:
        networkBlockId - the value to set
        Returns:
        this builder
      • localBlockId

        public ComputeHost.Builder localBlockId​(String localBlockId)
        The OCID for Customer-unique Local Block
        Parameters:
        localBlockId - the value to set
        Returns:
        this builder
      • gpuMemoryFabricId

        public ComputeHost.Builder gpuMemoryFabricId​(String gpuMemoryFabricId)
        The OCID for Customer-unique GPU Memory Fabric
        Parameters:
        gpuMemoryFabricId - the value to set
        Returns:
        this builder
      • instanceId

        public ComputeHost.Builder instanceId​(String instanceId)
        The public OCID for the Virtual Machine or Bare Metal instance
        Parameters:
        instanceId - the value to set
        Returns:
        this builder
      • shape

        public ComputeHost.Builder shape​(String shape)
        The shape of host
        Parameters:
        shape - the value to set
        Returns:
        this builder
      • additionalData

        public ComputeHost.Builder additionalData​(Map<String,​Object> additionalData)
        Additional data that can be exposed to the customer.

        Will include raw fault codes for strategic customers

        Parameters:
        additionalData - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public ComputeHost.Builder lifecycleDetails​(Map<String,​Object> lifecycleDetails)
        A free-form description detailing why the host is in its current state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • capacityReservationId

        public ComputeHost.Builder capacityReservationId​(String capacityReservationId)
        The OCID for the Capacity Reserver that is currently on host
        Parameters:
        capacityReservationId - the value to set
        Returns:
        this builder
      • impactedComponentDetails

        public ComputeHost.Builder impactedComponentDetails​(Map<String,​Object> impactedComponentDetails)
        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

        Parameters:
        impactedComponentDetails - the value to set
        Returns:
        this builder
      • timeCreated

        public ComputeHost.Builder timeCreated​(Date timeCreated)
        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

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ComputeHost.Builder timeUpdated​(Date timeUpdated)
        The date and time that the compute host record was updated, in the format defined by RFC3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • definedTags

        public ComputeHost.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • displayName

        public ComputeHost.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • freeformTags

        public ComputeHost.Builder freeformTags​(Map<String,​String> freeformTags)
        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"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder