public final class WebApiSkill extends SearchIndexerSkill
Constructor and Description |
---|
WebApiSkill(List<InputFieldMappingEntry> inputs,
List<OutputFieldMappingEntry> outputs,
String uri)
Creates an instance of WebApiSkill class.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getBatchSize()
Get the batchSize property: The desired batch size which indicates number of documents.
|
Integer |
getDegreeOfParallelism()
Get the degreeOfParallelism property: If set, the number of parallel calls that can be made to the Web API.
|
Map<String,String> |
getHttpHeaders()
Get the httpHeaders property: The headers required to make the http request.
|
String |
getHttpMethod()
Get the httpMethod property: The method for the http request.
|
Duration |
getTimeout()
Get the timeout property: The desired timeout for the request.
|
String |
getUri()
Get the uri property: The url for the Web API.
|
WebApiSkill |
setBatchSize(Integer batchSize)
Set the batchSize property: The desired batch size which indicates number of documents.
|
WebApiSkill |
setDegreeOfParallelism(Integer degreeOfParallelism)
Set the degreeOfParallelism property: If set, the number of parallel calls that can be made to the Web API.
|
WebApiSkill |
setHttpHeaders(Map<String,String> httpHeaders)
Set the httpHeaders property: The headers required to make the http request.
|
WebApiSkill |
setHttpMethod(String httpMethod)
Set the httpMethod property: The method for the http request.
|
WebApiSkill |
setTimeout(Duration timeout)
Set the timeout property: The desired timeout for the request.
|
getContext, getDescription, getInputs, getName, getOutputs, setContext, setDescription, setName
public WebApiSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs, String uri)
inputs
- the inputs value to set.outputs
- the outputs value to set.uri
- the uri value to set.public String getUri()
public Map<String,String> getHttpHeaders()
public WebApiSkill setHttpHeaders(Map<String,String> httpHeaders)
httpHeaders
- the httpHeaders value to set.public String getHttpMethod()
public WebApiSkill setHttpMethod(String httpMethod)
httpMethod
- the httpMethod value to set.public Duration getTimeout()
public WebApiSkill setTimeout(Duration timeout)
timeout
- the timeout value to set.public Integer getBatchSize()
public WebApiSkill setBatchSize(Integer batchSize)
batchSize
- the batchSize value to set.public Integer getDegreeOfParallelism()
public WebApiSkill setDegreeOfParallelism(Integer degreeOfParallelism)
degreeOfParallelism
- the degreeOfParallelism value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.