public static class DedicatedVmHostSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DedicatedVmHostSummary.Builder |
availabilityDomain(String availabilityDomain)
The availability domain the dedicated VM host is running in.
|
DedicatedVmHostSummary |
build() |
DedicatedVmHostSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the dedicated VM host.
|
DedicatedVmHostSummary.Builder |
copy(DedicatedVmHostSummary model) |
DedicatedVmHostSummary.Builder |
dedicatedVmHostShape(String dedicatedVmHostShape)
The shape of the dedicated VM host.
|
DedicatedVmHostSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
DedicatedVmHostSummary.Builder |
faultDomain(String faultDomain)
The fault domain for the dedicated VM host’s assigned instances.
|
DedicatedVmHostSummary.Builder |
id(String id)
The OCID
of the dedicated VM host.
|
DedicatedVmHostSummary.Builder |
lifecycleState(DedicatedVmHostSummary.LifecycleState lifecycleState)
The current state of the dedicated VM host.
|
DedicatedVmHostSummary.Builder |
remainingMemoryInGBs(Float remainingMemoryInGBs)
The current available memory of the dedicated VM host, in GBs.
|
DedicatedVmHostSummary.Builder |
remainingOcpus(Float remainingOcpus)
The current available OCPUs of the dedicated VM host.
|
DedicatedVmHostSummary.Builder |
timeCreated(Date timeCreated)
The date and time the dedicated VM host was created, in the format defined by
RFC3339.
|
DedicatedVmHostSummary.Builder |
totalMemoryInGBs(Float totalMemoryInGBs)
The current total memory of the dedicated VM host, in GBs.
|
DedicatedVmHostSummary.Builder |
totalOcpus(Float totalOcpus)
The current total OCPUs of the dedicated VM host.
|
public DedicatedVmHostSummary.Builder availabilityDomain(String availabilityDomain)
The availability domain the dedicated VM host is running in.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic DedicatedVmHostSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the dedicated VM host.
compartmentId
- the value to setpublic 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.
dedicatedVmHostShape
- the value to setpublic DedicatedVmHostSummary.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic 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
faultDomain
- the value to setpublic DedicatedVmHostSummary.Builder id(String id)
The OCID of the dedicated VM host.
id
- the value to setpublic DedicatedVmHostSummary.Builder lifecycleState(DedicatedVmHostSummary.LifecycleState lifecycleState)
The current state of the dedicated VM host.
lifecycleState
- the value to setpublic 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
timeCreated
- the value to setpublic DedicatedVmHostSummary.Builder remainingOcpus(Float remainingOcpus)
The current available OCPUs of the dedicated VM host.
remainingOcpus
- the value to setpublic DedicatedVmHostSummary.Builder totalOcpus(Float totalOcpus)
The current total OCPUs of the dedicated VM host.
totalOcpus
- the value to setpublic DedicatedVmHostSummary.Builder totalMemoryInGBs(Float totalMemoryInGBs)
The current total memory of the dedicated VM host, in GBs.
totalMemoryInGBs
- the value to setpublic DedicatedVmHostSummary.Builder remainingMemoryInGBs(Float remainingMemoryInGBs)
The current available memory of the dedicated VM host, in GBs.
remainingMemoryInGBs
- the value to setpublic DedicatedVmHostSummary build()
public DedicatedVmHostSummary.Builder copy(DedicatedVmHostSummary model)
Copyright © 2016–2024. All rights reserved.