Class V1ListVoicesResponse.Voice.Builder
-
- All Implemented Interfaces:
public final class V1ListVoicesResponse.Voice.BuilderA builder for Voice.
-
-
Method Summary
-
-
Method Detail
-
availableForTiers
final V1ListVoicesResponse.Voice.Builder availableForTiers(List<String> availableForTiers)
Available subscription tiers
-
availableForTiers
final V1ListVoicesResponse.Voice.Builder availableForTiers(JsonField<List<String>> availableForTiers)
Sets Builder.availableForTiers to an arbitrary JSON value.
You should usually call Builder.availableForTiers with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAvailableForTier
final V1ListVoicesResponse.Voice.Builder addAvailableForTier(String availableForTier)
Adds a single String to availableForTiers.
-
category
final V1ListVoicesResponse.Voice.Builder category(String category)
Voice category
-
category
final V1ListVoicesResponse.Voice.Builder category(JsonField<String> category)
Sets Builder.category to an arbitrary JSON value.
You should usually call Builder.category with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final V1ListVoicesResponse.Voice.Builder description(String description)
Voice description
-
description
final V1ListVoicesResponse.Voice.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.
-
labels
final V1ListVoicesResponse.Voice.Builder labels(JsonValue labels)
Voice characteristics and metadata
-
name
final V1ListVoicesResponse.Voice.Builder name(String name)
Voice name
-
name
final V1ListVoicesResponse.Voice.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.
-
previewUrl
final V1ListVoicesResponse.Voice.Builder previewUrl(String previewUrl)
URL to preview audio sample
-
previewUrl
final V1ListVoicesResponse.Voice.Builder previewUrl(JsonField<String> previewUrl)
Sets Builder.previewUrl to an arbitrary JSON value.
You should usually call Builder.previewUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
voiceId
final V1ListVoicesResponse.Voice.Builder voiceId(String voiceId)
Unique voice identifier
-
voiceId
final V1ListVoicesResponse.Voice.Builder voiceId(JsonField<String> voiceId)
Sets Builder.voiceId to an arbitrary JSON value.
You should usually call Builder.voiceId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final V1ListVoicesResponse.Voice.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1ListVoicesResponse.Voice.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1ListVoicesResponse.Voice.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1ListVoicesResponse.Voice.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1ListVoicesResponse.Voice.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1ListVoicesResponse.Voice build()
Returns an immutable instance of Voice.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-