Class AmdMilanBmPlatformConfig
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.core.model.PlatformConfig
-
- com.oracle.bmc.core.model.AmdMilanBmPlatformConfig
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class AmdMilanBmPlatformConfig extends PlatformConfig
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 theAmdMilanBmPlatformConfig.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 theAmdMilanBmPlatformConfig.Builder
, which maintain a set of all explicitly set fields calledAmdMilanBmPlatformConfig.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AmdMilanBmPlatformConfig.Builder
static class
AmdMilanBmPlatformConfig.NumaNodesPerSocket
The number of NUMA nodes per socket (NPS).-
Nested classes/interfaces inherited from class com.oracle.bmc.core.model.PlatformConfig
PlatformConfig.Type
-
-
Constructor Summary
Constructors Constructor Description AmdMilanBmPlatformConfig(Boolean isSecureBootEnabled, Boolean isTrustedPlatformModuleEnabled, Boolean isMeasuredBootEnabled, Boolean isMemoryEncryptionEnabled, AmdMilanBmPlatformConfig.NumaNodesPerSocket numaNodesPerSocket, Boolean isSymmetricMultiThreadingEnabled, Boolean isAccessControlServiceEnabled, Boolean areVirtualInstructionsEnabled, Boolean isInputOutputMemoryManagementUnitEnabled, Integer percentageOfCoresEnabled, Map<String,String> configMap)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AmdMilanBmPlatformConfig.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.AmdMilanBmPlatformConfig.NumaNodesPerSocket
getNumaNodesPerSocket()
The number of NUMA nodes per socket (NPS).Integer
getPercentageOfCoresEnabled()
The percentage of cores enabled.int
hashCode()
AmdMilanBmPlatformConfig.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.core.model.PlatformConfig
getIsMeasuredBootEnabled, getIsMemoryEncryptionEnabled, getIsSecureBootEnabled, getIsTrustedPlatformModuleEnabled
-
-
-
-
Constructor Detail
-
AmdMilanBmPlatformConfig
@Deprecated public AmdMilanBmPlatformConfig(Boolean isSecureBootEnabled, Boolean isTrustedPlatformModuleEnabled, Boolean isMeasuredBootEnabled, Boolean isMemoryEncryptionEnabled, AmdMilanBmPlatformConfig.NumaNodesPerSocket numaNodesPerSocket, Boolean isSymmetricMultiThreadingEnabled, Boolean isAccessControlServiceEnabled, Boolean areVirtualInstructionsEnabled, Boolean isInputOutputMemoryManagementUnitEnabled, Integer percentageOfCoresEnabled, Map<String,String> configMap)
Deprecated.
-
-
Method Detail
-
builder
public static AmdMilanBmPlatformConfig.Builder builder()
Create a new builder.
-
toBuilder
public AmdMilanBmPlatformConfig.Builder toBuilder()
-
getNumaNodesPerSocket
public AmdMilanBmPlatformConfig.NumaNodesPerSocket getNumaNodesPerSocket()
The number of NUMA nodes per socket (NPS).- Returns:
- the value
-
getIsSymmetricMultiThreadingEnabled
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.
- Returns:
- the value
-
getIsAccessControlServiceEnabled
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.
- Returns:
- the value
-
getAreVirtualInstructionsEnabled
public Boolean getAreVirtualInstructionsEnabled()
Whether virtualization instructions are available.For example, Secure Virtual Machine for AMD shapes or VT-x for Intel shapes.
- Returns:
- the value
-
getIsInputOutputMemoryManagementUnitEnabled
public Boolean getIsInputOutputMemoryManagementUnitEnabled()
Whether the input-output memory management unit is enabled.- Returns:
- the value
-
getPercentageOfCoresEnabled
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.
- Returns:
- the value
-
getConfigMap
public Map<String,String> getConfigMap()
Instance Platform Configuration Configuration Map for flexible setting input.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classPlatformConfig
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classPlatformConfig
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classPlatformConfig
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classPlatformConfig
-
-