Class InstanceTypeListResponse.InstanceType
-
- All Implemented Interfaces:
public final class InstanceTypeListResponse.InstanceType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInstanceTypeListResponse.InstanceType.BuilderA builder for InstanceType.
public final classInstanceTypeListResponse.InstanceType.Specs
-
Method Summary
Modifier and Type Method Description final Optional<String>description()Instance description final Optional<String>gpu()GPU model and count final Optional<String>name()Instance type identifier final Optional<String>pricePerHour()Price per hour (e.g. final Optional<List<String>>regionsAvailable()Available regions final Optional<InstanceTypeListResponse.InstanceType.Specs>specs()final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_gpu()Returns the raw JSON value of gpu. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_pricePerHour()Returns the raw JSON value of pricePerHour. final JsonField<List<String>>_regionsAvailable()Returns the raw JSON value of regionsAvailable. final JsonField<InstanceTypeListResponse.InstanceType.Specs>_specs()Returns the raw JSON value of specs. final Map<String, JsonValue>_additionalProperties()final InstanceTypeListResponse.InstanceType.BuildertoBuilder()final InstanceTypeListResponse.InstanceTypevalidate()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.Builderbuilder()Returns a mutable builder for constructing an instance of InstanceType. -
-
Method Detail
-
description
final Optional<String> description()
Instance description
-
pricePerHour
final Optional<String> pricePerHour()
Price per hour (e.g. '$1.20')
-
regionsAvailable
final Optional<List<String>> regionsAvailable()
Available regions
-
specs
final Optional<InstanceTypeListResponse.InstanceType.Specs> specs()
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_gpu
final JsonField<String> _gpu()
Returns the raw JSON value of gpu.
Unlike gpu, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_pricePerHour
final JsonField<String> _pricePerHour()
Returns the raw JSON value of pricePerHour.
Unlike pricePerHour, this method doesn't throw if the JSON field has an unexpected type.
-
_regionsAvailable
final JsonField<List<String>> _regionsAvailable()
Returns the raw JSON value of regionsAvailable.
Unlike regionsAvailable, this method doesn't throw if the JSON field has an unexpected type.
-
_specs
final JsonField<InstanceTypeListResponse.InstanceType.Specs> _specs()
Returns the raw JSON value of specs.
Unlike specs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InstanceTypeListResponse.InstanceType.Builder toBuilder()
-
validate
final InstanceTypeListResponse.InstanceType 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.Builder builder()
Returns a mutable builder for constructing an instance of InstanceType.
-
-
-
-