public final class WebApiSkill extends Skill
Constructor and Description |
---|
WebApiSkill() |
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.
|
WebApiSkill |
setUri(String uri)
Set the uri property: The url for the Web API.
|
getContext, getDescription, getInputs, getName, getOutputs, setContext, setDescription, setInputs, setName, setOutputs
public String getUri()
public WebApiSkill setUri(String uri)
uri
- the uri value to set.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 © 2020 Microsoft Corporation. All rights reserved.