Class ClientSecretCreateResponse.Builder
-
- All Implemented Interfaces:
public final class ClientSecretCreateResponse.Builder
A builder for ClientSecretCreateResponse.
-
-
Method Summary
-
-
Method Detail
-
expiresAt
final ClientSecretCreateResponse.Builder expiresAt(Long expiresAt)
Expiration timestamp for the client secret, in seconds since epoch.
-
expiresAt
final ClientSecretCreateResponse.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 ClientSecretCreateResponse.Builder session(ClientSecretCreateResponse.Session session)
The session configuration for either a realtime or transcription session.
-
session
final ClientSecretCreateResponse.Builder session(JsonField<ClientSecretCreateResponse.Session> session)
Sets Builder.session to an arbitrary JSON value.
You should usually call Builder.session with a well-typed Session value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
session
final ClientSecretCreateResponse.Builder session(RealtimeSessionCreateResponse realtime)
Alias for calling session with
Session.ofRealtime(realtime)
.
-
session
final ClientSecretCreateResponse.Builder session(RealtimeTranscriptionSessionCreateResponse transcription)
Alias for calling session with
Session.ofTranscription(transcription)
.
-
realtimeSession
final ClientSecretCreateResponse.Builder realtimeSession(RealtimeSessionClientSecret clientSecret)
Alias for calling session with the following:
RealtimeSessionCreateResponse.builder() .clientSecret(clientSecret) .build()
-
value
final ClientSecretCreateResponse.Builder value(String value)
The generated client secret value.
-
value
final ClientSecretCreateResponse.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 ClientSecretCreateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ClientSecretCreateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ClientSecretCreateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ClientSecretCreateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ClientSecretCreateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ClientSecretCreateResponse build()
Returns an immutable instance of ClientSecretCreateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.expiresAt() .session() .value()
-
-
-
-