Class DedicatedVmHostSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • availabilityDomain

        public DedicatedVmHostSummary.Builder availabilityDomain​(String availabilityDomain)
        The availability domain the dedicated VM host is running in.

        Example: Uocm:PHX-AD-1

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

        public DedicatedVmHostSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the dedicated VM host.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • dedicatedVmHostShape

        public DedicatedVmHostSummary.Builder dedicatedVmHostShape​(String dedicatedVmHostShape)
        The shape of the dedicated VM host.

        The shape determines the number of CPUs and other resources available for VMs.

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

        public DedicatedVmHostSummary.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
      • faultDomain

        public DedicatedVmHostSummary.Builder faultDomain​(String faultDomain)
        The fault domain for the dedicated VM host’s assigned instances.

        For more information, see Fault Domains.

        If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated VM host, delete it and create a new dedicated VM host in the preferred fault domain.

        To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

        Example: FAULT-DOMAIN-1

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

        public DedicatedVmHostSummary.Builder timeCreated​(Date timeCreated)
        The date and time the dedicated VM host was created, in the format defined by RFC3339.

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

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

        public DedicatedVmHostSummary.Builder remainingOcpus​(Float remainingOcpus)
        The current available OCPUs of the dedicated VM host.
        Parameters:
        remainingOcpus - the value to set
        Returns:
        this builder
      • totalOcpus

        public DedicatedVmHostSummary.Builder totalOcpus​(Float totalOcpus)
        The current total OCPUs of the dedicated VM host.
        Parameters:
        totalOcpus - the value to set
        Returns:
        this builder
      • totalMemoryInGBs

        public DedicatedVmHostSummary.Builder totalMemoryInGBs​(Float totalMemoryInGBs)
        The current total memory of the dedicated VM host, in GBs.
        Parameters:
        totalMemoryInGBs - the value to set
        Returns:
        this builder
      • remainingMemoryInGBs

        public DedicatedVmHostSummary.Builder remainingMemoryInGBs​(Float remainingMemoryInGBs)
        The current available memory of the dedicated VM host, in GBs.
        Parameters:
        remainingMemoryInGBs - the value to set
        Returns:
        this builder