@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AmdMilanBmLaunchInstancePlatformConfig extends LaunchInstancePlatformConfig
The platform configuration used when launching a bare metal instance with one of the following
shapes: BM.Standard.E4.128 or BM.DenseIO.E4.128 (the AMD Milan platform).
Note: Objects should always be created or deserialized using the AmdMilanBmLaunchInstancePlatformConfig.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the AmdMilanBmLaunchInstancePlatformConfig.Builder
, which maintain a
set of all explicitly set fields called AmdMilanBmLaunchInstancePlatformConfig.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AmdMilanBmLaunchInstancePlatformConfig.Builder |
static class |
AmdMilanBmLaunchInstancePlatformConfig.NumaNodesPerSocket
The number of NUMA nodes per socket (NPS).
|
LaunchInstancePlatformConfig.Type
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AmdMilanBmLaunchInstancePlatformConfig(Boolean isSecureBootEnabled,
Boolean isTrustedPlatformModuleEnabled,
Boolean isMeasuredBootEnabled,
Boolean isMemoryEncryptionEnabled,
AmdMilanBmLaunchInstancePlatformConfig.NumaNodesPerSocket numaNodesPerSocket,
Boolean isSymmetricMultiThreadingEnabled,
Boolean isAccessControlServiceEnabled,
Boolean areVirtualInstructionsEnabled,
Boolean isInputOutputMemoryManagementUnitEnabled,
Integer percentageOfCoresEnabled,
Map<String,String> configMap)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AmdMilanBmLaunchInstancePlatformConfig.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getAreVirtualInstructionsEnabled()
Whether virtualization instructions are available.
|
Map<String,String> |
getConfigMap()
Instance Platform Configuration Configuration Map for flexible setting input.
|
Boolean |
getIsAccessControlServiceEnabled()
Whether the Access Control Service is enabled on the instance.
|
Boolean |
getIsInputOutputMemoryManagementUnitEnabled()
Whether the input-output memory management unit is enabled.
|
Boolean |
getIsSymmetricMultiThreadingEnabled()
Whether symmetric multithreading is enabled on the instance.
|
AmdMilanBmLaunchInstancePlatformConfig.NumaNodesPerSocket |
getNumaNodesPerSocket()
The number of NUMA nodes per socket (NPS).
|
Integer |
getPercentageOfCoresEnabled()
The percentage of cores enabled.
|
int |
hashCode() |
AmdMilanBmLaunchInstancePlatformConfig.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getIsMeasuredBootEnabled, getIsMemoryEncryptionEnabled, getIsSecureBootEnabled, getIsTrustedPlatformModuleEnabled
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public AmdMilanBmLaunchInstancePlatformConfig(Boolean isSecureBootEnabled, Boolean isTrustedPlatformModuleEnabled, Boolean isMeasuredBootEnabled, Boolean isMemoryEncryptionEnabled, AmdMilanBmLaunchInstancePlatformConfig.NumaNodesPerSocket numaNodesPerSocket, Boolean isSymmetricMultiThreadingEnabled, Boolean isAccessControlServiceEnabled, Boolean areVirtualInstructionsEnabled, Boolean isInputOutputMemoryManagementUnitEnabled, Integer percentageOfCoresEnabled, Map<String,String> configMap)
public static AmdMilanBmLaunchInstancePlatformConfig.Builder builder()
Create a new builder.
public AmdMilanBmLaunchInstancePlatformConfig.Builder toBuilder()
public AmdMilanBmLaunchInstancePlatformConfig.NumaNodesPerSocket getNumaNodesPerSocket()
The number of NUMA nodes per socket (NPS).
public Boolean getIsSymmetricMultiThreadingEnabled()
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.
public Boolean getIsAccessControlServiceEnabled()
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.
public Boolean getAreVirtualInstructionsEnabled()
Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
public Boolean getIsInputOutputMemoryManagementUnitEnabled()
Whether the input-output memory management unit is enabled.
public Integer getPercentageOfCoresEnabled()
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.
public Map<String,String> getConfigMap()
Instance Platform Configuration Configuration Map for flexible setting input.
public String toString()
toString
in class LaunchInstancePlatformConfig
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class LaunchInstancePlatformConfig
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class LaunchInstancePlatformConfig
public int hashCode()
hashCode
in class LaunchInstancePlatformConfig
Copyright © 2016–2024. All rights reserved.