Class InstanceType
java.lang.Object
com.exoscale.sdk.model.InstanceType
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class InstanceType
extends Object
Compute instance type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumInstance type familystatic enumInstance type size -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstanceType(UUID id, InstanceType.SizeEnum size, InstanceType.FamilyEnum family, Long cpus, Long gpus, Boolean authorized, Long memory, List<ZoneName> zones) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this instance-type object is equal to o.Requires authorization or publicly availablegetCpus()CPU count minimum: 0Instance type familygetGpus()GPU count minimum: 0getId()Instance type IDAvailable memory minimum: 0getSize()Instance type sizegetZones()Instance Type available zonesinthashCode()toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_SIZE
- See Also:
-
JSON_PROPERTY_FAMILY
- See Also:
-
JSON_PROPERTY_CPUS
- See Also:
-
JSON_PROPERTY_GPUS
- See Also:
-
JSON_PROPERTY_AUTHORIZED
- See Also:
-
JSON_PROPERTY_MEMORY
- See Also:
-
JSON_PROPERTY_ZONES
- See Also:
-
-
Constructor Details
-
InstanceType
public InstanceType() -
InstanceType
public InstanceType(UUID id, InstanceType.SizeEnum size, InstanceType.FamilyEnum family, Long cpus, Long gpus, Boolean authorized, Long memory, List<ZoneName> zones)
-
-
Method Details
-
getId
-
getSize
-
getFamily
-
getCpus
-
getGpus
-
getAuthorized
Requires authorization or publicly available- Returns:
- authorized
-
getMemory
-
getZones
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-