Class SessionNavigateParams.Body.Builder
-
- All Implemented Interfaces:
public final class SessionNavigateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
url
final SessionNavigateParams.Body.Builder url(String url)
URL to navigate to
-
url
final SessionNavigateParams.Body.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
frameId
final SessionNavigateParams.Body.Builder frameId(String frameId)
Target frame ID for the navigation
-
frameId
final SessionNavigateParams.Body.Builder frameId(Optional<String> frameId)
Alias for calling Builder.frameId with
frameId.orElse(null).
-
frameId
final SessionNavigateParams.Body.Builder frameId(JsonField<String> frameId)
Sets Builder.frameId to an arbitrary JSON value.
You should usually call Builder.frameId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
options
final SessionNavigateParams.Body.Builder options(SessionNavigateParams.Options options)
-
options
final SessionNavigateParams.Body.Builder options(JsonField<SessionNavigateParams.Options> options)
Sets Builder.options to an arbitrary JSON value.
You should usually call Builder.options with a well-typed Options value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
streamResponse
final SessionNavigateParams.Body.Builder streamResponse(Boolean streamResponse)
Whether to stream the response via SSE
-
streamResponse
final SessionNavigateParams.Body.Builder streamResponse(JsonField<Boolean> streamResponse)
Sets Builder.streamResponse to an arbitrary JSON value.
You should usually call Builder.streamResponse with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SessionNavigateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SessionNavigateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SessionNavigateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SessionNavigateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SessionNavigateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SessionNavigateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.url()
-
-
-
-