Class InstanceTypeListResponse.InstanceType.Specs
-
- All Implemented Interfaces:
public final class InstanceTypeListResponse.InstanceType.Specs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInstanceTypeListResponse.InstanceType.Specs.BuilderA builder for Specs.
-
Method Summary
Modifier and Type Method Description final Optional<Long>memoryGib()RAM in GiB final Optional<Long>storageGib()Storage in GiB final Optional<Long>vcpus()Number of vCPUs final JsonField<Long>_memoryGib()Returns the raw JSON value of memoryGib. final JsonField<Long>_storageGib()Returns the raw JSON value of storageGib. final JsonField<Long>_vcpus()Returns the raw JSON value of vcpus. final Map<String, JsonValue>_additionalProperties()final InstanceTypeListResponse.InstanceType.Specs.BuildertoBuilder()final InstanceTypeListResponse.InstanceType.Specsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InstanceTypeListResponse.InstanceType.Specs.Builderbuilder()Returns a mutable builder for constructing an instance of Specs. -
-
Method Detail
-
storageGib
final Optional<Long> storageGib()
Storage in GiB
-
_memoryGib
final JsonField<Long> _memoryGib()
Returns the raw JSON value of memoryGib.
Unlike memoryGib, this method doesn't throw if the JSON field has an unexpected type.
-
_storageGib
final JsonField<Long> _storageGib()
Returns the raw JSON value of storageGib.
Unlike storageGib, this method doesn't throw if the JSON field has an unexpected type.
-
_vcpus
final JsonField<Long> _vcpus()
Returns the raw JSON value of vcpus.
Unlike vcpus, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InstanceTypeListResponse.InstanceType.Specs.Builder toBuilder()
-
validate
final InstanceTypeListResponse.InstanceType.Specs validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static InstanceTypeListResponse.InstanceType.Specs.Builder builder()
Returns a mutable builder for constructing an instance of Specs.
-
-
-
-