Class V1SimilarParams.Body.Builder
-
- All Implemented Interfaces:
public final class V1SimilarParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
url
final V1SimilarParams.Body.Builder url(String url)
The URL to find similar content for
-
url
final V1SimilarParams.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.
-
contents
final V1SimilarParams.Body.Builder contents(String contents)
Additional content to consider for similarity matching
-
contents
final V1SimilarParams.Body.Builder contents(JsonField<String> contents)
Sets Builder.contents to an arbitrary JSON value.
You should usually call Builder.contents with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
endCrawlDate
final V1SimilarParams.Body.Builder endCrawlDate(LocalDate endCrawlDate)
Only include pages crawled before this date
-
endCrawlDate
final V1SimilarParams.Body.Builder endCrawlDate(JsonField<LocalDate> endCrawlDate)
Sets Builder.endCrawlDate to an arbitrary JSON value.
You should usually call Builder.endCrawlDate with a well-typed LocalDate value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
endPublishedDate
final V1SimilarParams.Body.Builder endPublishedDate(LocalDate endPublishedDate)
Only include pages published before this date
-
endPublishedDate
final V1SimilarParams.Body.Builder endPublishedDate(JsonField<LocalDate> endPublishedDate)
Sets Builder.endPublishedDate to an arbitrary JSON value.
You should usually call Builder.endPublishedDate with a well-typed LocalDate value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
excludeDomains
final V1SimilarParams.Body.Builder excludeDomains(List<String> excludeDomains)
Exclude results from these domains
-
excludeDomains
final V1SimilarParams.Body.Builder excludeDomains(JsonField<List<String>> excludeDomains)
Sets Builder.excludeDomains to an arbitrary JSON value.
You should usually call Builder.excludeDomains with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addExcludeDomain
final V1SimilarParams.Body.Builder addExcludeDomain(String excludeDomain)
Adds a single String to excludeDomains.
-
includeDomains
final V1SimilarParams.Body.Builder includeDomains(List<String> includeDomains)
Only search within these domains
-
includeDomains
final V1SimilarParams.Body.Builder includeDomains(JsonField<List<String>> includeDomains)
Sets Builder.includeDomains to an arbitrary JSON value.
You should usually call Builder.includeDomains with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addIncludeDomain
final V1SimilarParams.Body.Builder addIncludeDomain(String includeDomain)
Adds a single String to includeDomains.
-
includeText
final V1SimilarParams.Body.Builder includeText(Boolean includeText)
Whether to include extracted text content in results
-
includeText
final V1SimilarParams.Body.Builder includeText(JsonField<Boolean> includeText)
Sets Builder.includeText to an arbitrary JSON value.
You should usually call Builder.includeText with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
numResults
final V1SimilarParams.Body.Builder numResults(Long numResults)
Number of similar results to return
-
numResults
final V1SimilarParams.Body.Builder numResults(JsonField<Long> numResults)
Sets Builder.numResults to an arbitrary JSON value.
You should usually call Builder.numResults with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startCrawlDate
final V1SimilarParams.Body.Builder startCrawlDate(LocalDate startCrawlDate)
Only include pages crawled after this date
-
startCrawlDate
final V1SimilarParams.Body.Builder startCrawlDate(JsonField<LocalDate> startCrawlDate)
Sets Builder.startCrawlDate to an arbitrary JSON value.
You should usually call Builder.startCrawlDate with a well-typed LocalDate value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startPublishedDate
final V1SimilarParams.Body.Builder startPublishedDate(LocalDate startPublishedDate)
Only include pages published after this date
-
startPublishedDate
final V1SimilarParams.Body.Builder startPublishedDate(JsonField<LocalDate> startPublishedDate)
Sets Builder.startPublishedDate to an arbitrary JSON value.
You should usually call Builder.startPublishedDate with a well-typed LocalDate value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final V1SimilarParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1SimilarParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1SimilarParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1SimilarParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1SimilarParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1SimilarParams.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()
-
-
-
-