public static class DedicatedVmHost.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DedicatedVmHost.Builder |
availabilityDomain(String availabilityDomain)
The availability domain the dedicated virtual machine host is running in.
|
DedicatedVmHost |
build() |
DedicatedVmHost.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the dedicated virtual machine host.
|
DedicatedVmHost.Builder |
copy(DedicatedVmHost model) |
DedicatedVmHost.Builder |
dedicatedVmHostShape(String dedicatedVmHostShape)
The dedicated virtual machine host shape.
|
DedicatedVmHost.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DedicatedVmHost.Builder |
displayName(String displayName)
A user-friendly name.
|
DedicatedVmHost.Builder |
faultDomain(String faultDomain)
The fault domain for the dedicated virtual machine host’s assigned instances.
|
DedicatedVmHost.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DedicatedVmHost.Builder |
id(String id)
The OCID
of the dedicated VM host.
|
DedicatedVmHost.Builder |
lifecycleState(DedicatedVmHost.LifecycleState lifecycleState)
The current state of the dedicated VM host.
|
DedicatedVmHost.Builder |
remainingMemoryInGBs(Float remainingMemoryInGBs)
The remaining memory of the dedicated VM host, in GBs.
|
DedicatedVmHost.Builder |
remainingOcpus(Float remainingOcpus)
The available OCPUs of the dedicated VM host.
|
DedicatedVmHost.Builder |
timeCreated(Date timeCreated)
The date and time the dedicated VM host was created, in the format defined by
RFC3339.
|
DedicatedVmHost.Builder |
totalMemoryInGBs(Float totalMemoryInGBs)
The total memory of the dedicated VM host, in GBs.
|
DedicatedVmHost.Builder |
totalOcpus(Float totalOcpus)
The total OCPUs of the dedicated VM host.
|
public DedicatedVmHost.Builder availabilityDomain(String availabilityDomain)
The availability domain the dedicated virtual machine host is running in.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic DedicatedVmHost.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the dedicated virtual machine host.
compartmentId
- the value to setpublic DedicatedVmHost.Builder dedicatedVmHostShape(String dedicatedVmHostShape)
The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VMs.
dedicatedVmHostShape
- the value to setpublic DedicatedVmHost.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"}}
definedTags
- the value to setpublic DedicatedVmHost.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 DedicatedVmHost.Builder faultDomain(String faultDomain)
The fault domain for the dedicated virtual machine 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 virtual machine host, delete it, and then create a new dedicated virtual machine 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](https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/).
Example: FAULT-DOMAIN-1
faultDomain
- the value to setpublic DedicatedVmHost.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"}
freeformTags
- the value to setpublic DedicatedVmHost.Builder id(String id)
The OCID of the dedicated VM host.
id
- the value to setpublic DedicatedVmHost.Builder lifecycleState(DedicatedVmHost.LifecycleState lifecycleState)
The current state of the dedicated VM host.
lifecycleState
- the value to setpublic DedicatedVmHost.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 DedicatedVmHost.Builder totalOcpus(Float totalOcpus)
The total OCPUs of the dedicated VM host.
totalOcpus
- the value to setpublic DedicatedVmHost.Builder remainingOcpus(Float remainingOcpus)
The available OCPUs of the dedicated VM host.
remainingOcpus
- the value to setpublic DedicatedVmHost.Builder totalMemoryInGBs(Float totalMemoryInGBs)
The total memory of the dedicated VM host, in GBs.
totalMemoryInGBs
- the value to setpublic DedicatedVmHost.Builder remainingMemoryInGBs(Float remainingMemoryInGBs)
The remaining memory of the dedicated VM host, in GBs.
remainingMemoryInGBs
- the value to setpublic DedicatedVmHost build()
public DedicatedVmHost.Builder copy(DedicatedVmHost model)
Copyright © 2016–2025. All rights reserved.