Class InstanceTypeListResponse.InstanceType.Builder
-
- All Implemented Interfaces:
public final class InstanceTypeListResponse.InstanceType.BuilderA builder for InstanceType.
-
-
Method Summary
-
-
Method Detail
-
description
final InstanceTypeListResponse.InstanceType.Builder description(String description)
Instance description
-
description
final InstanceTypeListResponse.InstanceType.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
gpu
final InstanceTypeListResponse.InstanceType.Builder gpu(String gpu)
GPU model and count
-
gpu
final InstanceTypeListResponse.InstanceType.Builder gpu(JsonField<String> gpu)
Sets Builder.gpu to an arbitrary JSON value.
You should usually call Builder.gpu with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final InstanceTypeListResponse.InstanceType.Builder name(String name)
Instance type identifier
-
name
final InstanceTypeListResponse.InstanceType.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pricePerHour
final InstanceTypeListResponse.InstanceType.Builder pricePerHour(String pricePerHour)
Price per hour (e.g. '$1.20')
-
pricePerHour
final InstanceTypeListResponse.InstanceType.Builder pricePerHour(JsonField<String> pricePerHour)
Sets Builder.pricePerHour to an arbitrary JSON value.
You should usually call Builder.pricePerHour with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
regionsAvailable
final InstanceTypeListResponse.InstanceType.Builder regionsAvailable(List<String> regionsAvailable)
Available regions
-
regionsAvailable
final InstanceTypeListResponse.InstanceType.Builder regionsAvailable(JsonField<List<String>> regionsAvailable)
Sets Builder.regionsAvailable to an arbitrary JSON value.
You should usually call Builder.regionsAvailable with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addRegionsAvailable
final InstanceTypeListResponse.InstanceType.Builder addRegionsAvailable(String regionsAvailable)
Adds a single String to Builder.regionsAvailable.
-
specs
final InstanceTypeListResponse.InstanceType.Builder specs(InstanceTypeListResponse.InstanceType.Specs specs)
-
specs
final InstanceTypeListResponse.InstanceType.Builder specs(JsonField<InstanceTypeListResponse.InstanceType.Specs> specs)
Sets Builder.specs to an arbitrary JSON value.
You should usually call Builder.specs with a well-typed Specs value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InstanceTypeListResponse.InstanceType.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InstanceTypeListResponse.InstanceType.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InstanceTypeListResponse.InstanceType.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InstanceTypeListResponse.InstanceType.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InstanceTypeListResponse.InstanceType.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InstanceTypeListResponse.InstanceType build()
Returns an immutable instance of InstanceType.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-