target.apidocs.com.google.api.services.compute.model.AllocationSpecificSKUAllocationReservedInstanceProperties.html Maven / Gradle / Ivy
AllocationSpecificSKUAllocationReservedInstanceProperties (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute.model
Class AllocationSpecificSKUAllocationReservedInstanceProperties
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.AllocationSpecificSKUAllocationReservedInstanceProperties
-
public final class AllocationSpecificSKUAllocationReservedInstanceProperties
extends com.google.api.client.json.GenericJson
Properties of the SKU instances being reserved. Next ID: 9
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
AllocationSpecificSKUAllocationReservedInstanceProperties()
-
Method Summary
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
AllocationSpecificSKUAllocationReservedInstanceProperties
public AllocationSpecificSKUAllocationReservedInstanceProperties()
-
Method Detail
-
getGuestAccelerators
public List<AcceleratorConfig> getGuestAccelerators()
Specifies accelerator type and count.
- Returns:
- value or
null for none
-
setGuestAccelerators
public AllocationSpecificSKUAllocationReservedInstanceProperties setGuestAccelerators(List<AcceleratorConfig> guestAccelerators)
Specifies accelerator type and count.
- Parameters:
guestAccelerators - guestAccelerators or null for none
-
getLocalSsds
public List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> getLocalSsds()
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
- Returns:
- value or
null for none
-
setLocalSsds
public AllocationSpecificSKUAllocationReservedInstanceProperties setLocalSsds(List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> localSsds)
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
- Parameters:
localSsds - localSsds or null for none
-
getLocationHint
public String getLocationHint()
An opaque location hint used to place the allocation close to other resources. This field is
for use by internal tools that use the public API.
- Returns:
- value or
null for none
-
setLocationHint
public AllocationSpecificSKUAllocationReservedInstanceProperties setLocationHint(String locationHint)
An opaque location hint used to place the allocation close to other resources. This field is
for use by internal tools that use the public API.
- Parameters:
locationHint - locationHint or null for none
-
getMachineType
public String getMachineType()
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of
memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-
AMOUNT_OF_MEMORY pattern.
- Returns:
- value or
null for none
-
setMachineType
public AllocationSpecificSKUAllocationReservedInstanceProperties setMachineType(String machineType)
Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of
memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-
AMOUNT_OF_MEMORY pattern.
- Parameters:
machineType - machineType or null for none
-
getMinCpuPlatform
public String getMinCpuPlatform()
Minimum cpu platform the reservation.
- Returns:
- value or
null for none
-
setMinCpuPlatform
public AllocationSpecificSKUAllocationReservedInstanceProperties setMinCpuPlatform(String minCpuPlatform)
Minimum cpu platform the reservation.
- Parameters:
minCpuPlatform - minCpuPlatform or null for none
-
set
public AllocationSpecificSKUAllocationReservedInstanceProperties set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public AllocationSpecificSKUAllocationReservedInstanceProperties clone()
- Overrides:
clone in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy