Package com.oracle.bmc.core.model
Class AmdMilanBmGpuLaunchInstancePlatformConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.AmdMilanBmGpuLaunchInstancePlatformConfig.Builder
-
- Enclosing class:
- AmdMilanBmGpuLaunchInstancePlatformConfig
public static class AmdMilanBmGpuLaunchInstancePlatformConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
isSecureBootEnabled
public AmdMilanBmGpuLaunchInstancePlatformConfig.Builder isSecureBootEnabled(Boolean isSecureBootEnabled)
-
isTrustedPlatformModuleEnabled
public AmdMilanBmGpuLaunchInstancePlatformConfig.Builder isTrustedPlatformModuleEnabled(Boolean isTrustedPlatformModuleEnabled)
-
isMeasuredBootEnabled
public AmdMilanBmGpuLaunchInstancePlatformConfig.Builder isMeasuredBootEnabled(Boolean isMeasuredBootEnabled)
-
isMemoryEncryptionEnabled
public AmdMilanBmGpuLaunchInstancePlatformConfig.Builder isMemoryEncryptionEnabled(Boolean isMemoryEncryptionEnabled)
-
numaNodesPerSocket
public AmdMilanBmGpuLaunchInstancePlatformConfig.Builder numaNodesPerSocket(AmdMilanBmGpuLaunchInstancePlatformConfig.NumaNodesPerSocket numaNodesPerSocket)
The number of NUMA nodes per socket (NPS).- Parameters:
numaNodesPerSocket
- the value to set- Returns:
- this builder
-
isSymmetricMultiThreadingEnabled
public AmdMilanBmGpuLaunchInstancePlatformConfig.Builder isSymmetricMultiThreadingEnabled(Boolean isSymmetricMultiThreadingEnabled)
Whether symmetric multithreading is enabled on the instance.Symmetric multithreading is also called simultaneous multithreading (SMT) or Intel Hyper-Threading.
Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple independent threads of execution, to better use the resources and increase the efficiency of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which can provide higher or more predictable performance for some workloads.
- Parameters:
isSymmetricMultiThreadingEnabled
- the value to set- Returns:
- this builder
-
isAccessControlServiceEnabled
public AmdMilanBmGpuLaunchInstancePlatformConfig.Builder isAccessControlServiceEnabled(Boolean isAccessControlServiceEnabled)
Whether the Access Control Service is enabled on the instance.When enabled, the platform can enforce PCIe device isolation, required for VFIO device pass-through.
- Parameters:
isAccessControlServiceEnabled
- the value to set- Returns:
- this builder
-
areVirtualInstructionsEnabled
public AmdMilanBmGpuLaunchInstancePlatformConfig.Builder areVirtualInstructionsEnabled(Boolean areVirtualInstructionsEnabled)
Whether virtualization instructions are available.For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- Parameters:
areVirtualInstructionsEnabled
- the value to set- Returns:
- this builder
-
isInputOutputMemoryManagementUnitEnabled
public AmdMilanBmGpuLaunchInstancePlatformConfig.Builder isInputOutputMemoryManagementUnitEnabled(Boolean isInputOutputMemoryManagementUnitEnabled)
Whether the input-output memory management unit is enabled.- Parameters:
isInputOutputMemoryManagementUnitEnabled
- the value to set- Returns:
- this builder
-
configMap
public AmdMilanBmGpuLaunchInstancePlatformConfig.Builder configMap(Map<String,String> configMap)
Instance Platform Configuration Configuration Map for flexible setting input.- Parameters:
configMap
- the value to set- Returns:
- this builder
-
build
public AmdMilanBmGpuLaunchInstancePlatformConfig build()
-
copy
public AmdMilanBmGpuLaunchInstancePlatformConfig.Builder copy(AmdMilanBmGpuLaunchInstancePlatformConfig model)
-
-