Class AmdMilanBmLaunchInstancePlatformConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.AmdMilanBmLaunchInstancePlatformConfig.Builder
-
- Enclosing class:
- AmdMilanBmLaunchInstancePlatformConfig
public static class AmdMilanBmLaunchInstancePlatformConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
isSecureBootEnabled
public AmdMilanBmLaunchInstancePlatformConfig.Builder isSecureBootEnabled(Boolean isSecureBootEnabled)
-
isTrustedPlatformModuleEnabled
public AmdMilanBmLaunchInstancePlatformConfig.Builder isTrustedPlatformModuleEnabled(Boolean isTrustedPlatformModuleEnabled)
-
isMeasuredBootEnabled
public AmdMilanBmLaunchInstancePlatformConfig.Builder isMeasuredBootEnabled(Boolean isMeasuredBootEnabled)
-
isMemoryEncryptionEnabled
public AmdMilanBmLaunchInstancePlatformConfig.Builder isMemoryEncryptionEnabled(Boolean isMemoryEncryptionEnabled)
-
numaNodesPerSocket
public AmdMilanBmLaunchInstancePlatformConfig.Builder numaNodesPerSocket(AmdMilanBmLaunchInstancePlatformConfig.NumaNodesPerSocket numaNodesPerSocket)
The number of NUMA nodes per socket (NPS).- Parameters:
numaNodesPerSocket
- the value to set- Returns:
- this builder
-
isSymmetricMultiThreadingEnabled
public AmdMilanBmLaunchInstancePlatformConfig.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 AmdMilanBmLaunchInstancePlatformConfig.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 AmdMilanBmLaunchInstancePlatformConfig.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 AmdMilanBmLaunchInstancePlatformConfig.Builder isInputOutputMemoryManagementUnitEnabled(Boolean isInputOutputMemoryManagementUnitEnabled)
Whether the input-output memory management unit is enabled.- Parameters:
isInputOutputMemoryManagementUnitEnabled
- the value to set- Returns:
- this builder
-
percentageOfCoresEnabled
public AmdMilanBmLaunchInstancePlatformConfig.Builder percentageOfCoresEnabled(Integer percentageOfCoresEnabled)
The percentage of cores enabled.Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores.
If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled.
- Parameters:
percentageOfCoresEnabled
- the value to set- Returns:
- this builder
-
configMap
public AmdMilanBmLaunchInstancePlatformConfig.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 AmdMilanBmLaunchInstancePlatformConfig build()
-
copy
public AmdMilanBmLaunchInstancePlatformConfig.Builder copy(AmdMilanBmLaunchInstancePlatformConfig model)
-
-