Class CreateDedicatedVmHostDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.CreateDedicatedVmHostDetails.Builder
-
- Enclosing class:
- CreateDedicatedVmHostDetails
public static class CreateDedicatedVmHostDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDedicatedVmHostDetails.BuilderavailabilityDomain(String availabilityDomain)The availability domain of the dedicated virtual machine host.CreateDedicatedVmHostDetailsbuild()CreateDedicatedVmHostDetails.BuildercapacityConfig(String capacityConfig)The capacity configuration selected to be configured for the Dedicated Virtual Machine host.CreateDedicatedVmHostDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment.CreateDedicatedVmHostDetails.Buildercopy(CreateDedicatedVmHostDetails model)CreateDedicatedVmHostDetails.BuilderdedicatedVmHostShape(String dedicatedVmHostShape)The dedicated virtual machine host shape.CreateDedicatedVmHostDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateDedicatedVmHostDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateDedicatedVmHostDetails.BuilderfaultDomain(String faultDomain)The fault domain for the dedicated virtual machine host’s assigned instances.CreateDedicatedVmHostDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateDedicatedVmHostDetails.BuilderisMemoryEncryptionEnabled(Boolean isMemoryEncryptionEnabled)Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs.CreateDedicatedVmHostDetails.BuilderplacementConstraintDetails(PlacementConstraintDetails placementConstraintDetails)
-
-
-
Method Detail
-
availabilityDomain
public CreateDedicatedVmHostDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain of the dedicated virtual machine host.Example: Uocm:PHX-AD-1
- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
compartmentId
public CreateDedicatedVmHostDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
dedicatedVmHostShape
public CreateDedicatedVmHostDetails.Builder dedicatedVmHostShape(String dedicatedVmHostShape)
The dedicated virtual machine host shape.The shape determines the number of CPUs and other resources available for VM instances launched on the dedicated virtual machine host.
- Parameters:
dedicatedVmHostShape- the value to set- Returns:
- this builder
-
definedTags
public CreateDedicatedVmHostDetails.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 CreateDedicatedVmHostDetails.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 CreateDedicatedVmHostDetails.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 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.oracle.com/iaas/api/#/en/identity/20160918/).
Example: FAULT-DOMAIN-1
- Parameters:
faultDomain- the value to set- Returns:
- this builder
-
freeformTags
public CreateDedicatedVmHostDetails.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
-
placementConstraintDetails
public CreateDedicatedVmHostDetails.Builder placementConstraintDetails(PlacementConstraintDetails placementConstraintDetails)
-
capacityConfig
public CreateDedicatedVmHostDetails.Builder capacityConfig(String capacityConfig)
The capacity configuration selected to be configured for the Dedicated Virtual Machine host.Run
listDedicatedVmHostShapesAPI first to see the capacity configuration options.- Parameters:
capacityConfig- the value to set- Returns:
- this builder
-
isMemoryEncryptionEnabled
public CreateDedicatedVmHostDetails.Builder isMemoryEncryptionEnabled(Boolean isMemoryEncryptionEnabled)
Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs.If true, only Confidential VMs can be launched. If false, Confidential VMs cannot be launched.
- Parameters:
isMemoryEncryptionEnabled- the value to set- Returns:
- this builder
-
build
public CreateDedicatedVmHostDetails build()
-
copy
public CreateDedicatedVmHostDetails.Builder copy(CreateDedicatedVmHostDetails model)
-
-