Class V1SimilarResponse.SimilarSource.Builder
-
- All Implemented Interfaces:
public final class V1SimilarResponse.SimilarSource.BuilderA builder for SimilarSource.
-
-
Method Summary
-
-
Method Detail
-
publishedDate
final V1SimilarResponse.SimilarSource.Builder publishedDate(String publishedDate)
Publication date
-
publishedDate
final V1SimilarResponse.SimilarSource.Builder publishedDate(Optional<String> publishedDate)
Alias for calling Builder.publishedDate with
publishedDate.orElse(null).
-
publishedDate
final V1SimilarResponse.SimilarSource.Builder publishedDate(JsonField<String> publishedDate)
Sets Builder.publishedDate to an arbitrary JSON value.
You should usually call Builder.publishedDate with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
snippet
final V1SimilarResponse.SimilarSource.Builder snippet(String snippet)
Text excerpt from the document
-
snippet
final V1SimilarResponse.SimilarSource.Builder snippet(JsonField<String> snippet)
Sets Builder.snippet to an arbitrary JSON value.
You should usually call Builder.snippet with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
source
final V1SimilarResponse.SimilarSource.Builder source(String source)
Domain of the source
-
source
final V1SimilarResponse.SimilarSource.Builder source(JsonField<String> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source 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 V1SimilarResponse.SimilarSource.Builder title(String title)
Title of the document
-
title
final V1SimilarResponse.SimilarSource.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.
-
url
final V1SimilarResponse.SimilarSource.Builder url(String url)
URL of the similar source
-
url
final V1SimilarResponse.SimilarSource.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 V1SimilarResponse.SimilarSource.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1SimilarResponse.SimilarSource.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1SimilarResponse.SimilarSource.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1SimilarResponse.SimilarSource.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1SimilarResponse.SimilarSource.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1SimilarResponse.SimilarSource build()
Returns an immutable instance of SimilarSource.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-