Class BetaWebSearchResultBlock.Builder
-
- All Implemented Interfaces:
public final class BetaWebSearchResultBlock.BuilderA builder for BetaWebSearchResultBlock.
-
-
Method Summary
-
-
Method Detail
-
encryptedContent
final BetaWebSearchResultBlock.Builder encryptedContent(String encryptedContent)
-
encryptedContent
final BetaWebSearchResultBlock.Builder encryptedContent(JsonField<String> encryptedContent)
Sets Builder.encryptedContent to an arbitrary JSON value.
You should usually call Builder.encryptedContent with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pageAge
final BetaWebSearchResultBlock.Builder pageAge(String pageAge)
-
pageAge
final BetaWebSearchResultBlock.Builder pageAge(Optional<String> pageAge)
Alias for calling Builder.pageAge with
pageAge.orElse(null).
-
pageAge
final BetaWebSearchResultBlock.Builder pageAge(JsonField<String> pageAge)
Sets Builder.pageAge to an arbitrary JSON value.
You should usually call Builder.pageAge with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
title
final BetaWebSearchResultBlock.Builder title(String title)
-
title
final BetaWebSearchResultBlock.Builder title(JsonField<String> title)
Sets Builder.title to an arbitrary JSON value.
You should usually call Builder.title with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaWebSearchResultBlock.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("web_search_result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final BetaWebSearchResultBlock.Builder url(String url)
-
url
final BetaWebSearchResultBlock.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.
-
additionalProperties
final BetaWebSearchResultBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaWebSearchResultBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaWebSearchResultBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaWebSearchResultBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaWebSearchResultBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaWebSearchResultBlock build()
Returns an immutable instance of BetaWebSearchResultBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.encryptedContent() .pageAge() .title() .url()
-
-
-
-