public final class AdvancedMachineFeatures
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AdvancedMachineFeatures() |
Modifier and Type | Method and Description |
---|---|
AdvancedMachineFeatures |
clone() |
Boolean |
getEnableNestedVirtualization()
Whether to enable nested virtualization or not (default is false).
|
Boolean |
getEnableUefiNetworking()
Whether to enable UEFI networking for instance creation.
|
String |
getPerformanceMonitoringUnit()
Type of Performance Monitoring Unit requested on instance.
|
Integer |
getThreadsPerCore()
The number of threads per physical core.
|
Integer |
getVisibleCoreCount()
The number of physical cores to expose to an instance.
|
AdvancedMachineFeatures |
set(String fieldName,
Object value) |
AdvancedMachineFeatures |
setEnableNestedVirtualization(Boolean enableNestedVirtualization)
Whether to enable nested virtualization or not (default is false).
|
AdvancedMachineFeatures |
setEnableUefiNetworking(Boolean enableUefiNetworking)
Whether to enable UEFI networking for instance creation.
|
AdvancedMachineFeatures |
setPerformanceMonitoringUnit(String performanceMonitoringUnit)
Type of Performance Monitoring Unit requested on instance.
|
AdvancedMachineFeatures |
setThreadsPerCore(Integer threadsPerCore)
The number of threads per physical core.
|
AdvancedMachineFeatures |
setVisibleCoreCount(Integer visibleCoreCount)
The number of physical cores to expose to an instance.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getEnableNestedVirtualization()
null
for nonepublic AdvancedMachineFeatures setEnableNestedVirtualization(Boolean enableNestedVirtualization)
enableNestedVirtualization
- enableNestedVirtualization or null
for nonepublic Boolean getEnableUefiNetworking()
null
for nonepublic AdvancedMachineFeatures setEnableUefiNetworking(Boolean enableUefiNetworking)
enableUefiNetworking
- enableUefiNetworking or null
for nonepublic String getPerformanceMonitoringUnit()
null
for nonepublic AdvancedMachineFeatures setPerformanceMonitoringUnit(String performanceMonitoringUnit)
performanceMonitoringUnit
- performanceMonitoringUnit or null
for nonepublic Integer getThreadsPerCore()
null
for nonepublic AdvancedMachineFeatures setThreadsPerCore(Integer threadsPerCore)
threadsPerCore
- threadsPerCore or null
for nonepublic Integer getVisibleCoreCount()
null
for nonepublic AdvancedMachineFeatures setVisibleCoreCount(Integer visibleCoreCount)
visibleCoreCount
- visibleCoreCount or null
for nonepublic AdvancedMachineFeatures set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AdvancedMachineFeatures clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.