Class RealtimeTranslationClientSecretCreateResponse.Builder
-
- All Implemented Interfaces:
public final class RealtimeTranslationClientSecretCreateResponse.BuilderA builder for RealtimeTranslationClientSecretCreateResponse.
-
-
Method Summary
-
-
Method Detail
-
expiresAt
final RealtimeTranslationClientSecretCreateResponse.Builder expiresAt(Long expiresAt)
Expiration timestamp for the client secret, in seconds since epoch.
-
expiresAt
final RealtimeTranslationClientSecretCreateResponse.Builder expiresAt(JsonField<Long> expiresAt)
Sets Builder.expiresAt to an arbitrary JSON value.
You should usually call Builder.expiresAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
session
final RealtimeTranslationClientSecretCreateResponse.Builder session(RealtimeTranslationSession session)
A Realtime translation session. Translation sessions continuously translate input audio into the configured output language.
-
session
final RealtimeTranslationClientSecretCreateResponse.Builder session(JsonField<RealtimeTranslationSession> session)
Sets Builder.session to an arbitrary JSON value.
You should usually call Builder.session with a well-typed RealtimeTranslationSession value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
value
final RealtimeTranslationClientSecretCreateResponse.Builder value(String value)
The generated client secret value.
-
value
final RealtimeTranslationClientSecretCreateResponse.Builder value(JsonField<String> value)
Sets Builder.value to an arbitrary JSON value.
You should usually call Builder.value 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 RealtimeTranslationClientSecretCreateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RealtimeTranslationClientSecretCreateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RealtimeTranslationClientSecretCreateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RealtimeTranslationClientSecretCreateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RealtimeTranslationClientSecretCreateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RealtimeTranslationClientSecretCreateResponse build()
Returns an immutable instance of RealtimeTranslationClientSecretCreateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.expiresAt() .session() .value()
-
-
-
-