Class SessionStartResponse.Data.Builder
-
- All Implemented Interfaces:
public final class SessionStartResponse.Data.BuilderA builder for Data.
-
-
Method Summary
-
-
Method Detail
-
available
final SessionStartResponse.Data.Builder available(Boolean available)
-
available
final SessionStartResponse.Data.Builder available(JsonField<Boolean> available)
Sets Builder.available to an arbitrary JSON value.
You should usually call Builder.available with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sessionId
final SessionStartResponse.Data.Builder sessionId(String sessionId)
Unique Browserbase session identifier
-
sessionId
final SessionStartResponse.Data.Builder sessionId(JsonField<String> sessionId)
Sets Builder.sessionId to an arbitrary JSON value.
You should usually call Builder.sessionId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
cdpUrl
final SessionStartResponse.Data.Builder cdpUrl(String cdpUrl)
CDP WebSocket URL for connecting to the Browserbase cloud browser (present when available)
-
cdpUrl
final SessionStartResponse.Data.Builder cdpUrl(Optional<String> cdpUrl)
Alias for calling Builder.cdpUrl with
cdpUrl.orElse(null).
-
cdpUrl
final SessionStartResponse.Data.Builder cdpUrl(JsonField<String> cdpUrl)
Sets Builder.cdpUrl to an arbitrary JSON value.
You should usually call Builder.cdpUrl 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 SessionStartResponse.Data.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SessionStartResponse.Data.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SessionStartResponse.Data.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SessionStartResponse.Data.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SessionStartResponse.Data.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SessionStartResponse.Data build()
Returns an immutable instance of Data.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.available() .sessionId()
-
-
-
-