WebKnowledgeSourceDomain Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. WebKnowledgeSourceDomain
- com.
Implements
public final class WebKnowledgeSourceDomain
implements JsonSerializable<WebKnowledgeSourceDomain>
Configuration for web knowledge source domain.
Constructor Summary
| Constructor | Description |
|---|---|
| WebKnowledgeSourceDomain(String address) |
Creates an instance of Web |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Web |
fromJson(JsonReader jsonReader)
Reads an instance of Web |
| String |
getAddress()
Get the address property: The address of the domain. |
| Boolean |
isIncludeSubpages()
Get the include |
|
Web |
setIncludeSubpages(Boolean includeSubpages)
Set the include |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
WebKnowledgeSourceDomain
public WebKnowledgeSourceDomain(String address)
Creates an instance of WebKnowledgeSourceDomain class.
Parameters:
Method Details
fromJson
public static WebKnowledgeSourceDomain fromJson(JsonReader jsonReader)
Reads an instance of WebKnowledgeSourceDomain from the JsonReader.
Parameters:
Returns:
Throws:
getAddress
public String getAddress()
Get the address property: The address of the domain.
Returns:
isIncludeSubpages
public Boolean isIncludeSubpages()
Get the includeSubpages property: Whether or not to include subpages from this domain.
Returns:
setIncludeSubpages
public WebKnowledgeSourceDomain setIncludeSubpages(Boolean includeSubpages)
Set the includeSubpages property: Whether or not to include subpages from this domain.
Parameters:
Returns: