public static class RestCallConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RestCallConfig |
build() |
RestCallConfig.Builder |
configValues(ConfigValues configValues) |
RestCallConfig.Builder |
copy(RestCallConfig model) |
RestCallConfig.Builder |
methodType(RestCallConfig.MethodType methodType)
The REST method to use.
|
RestCallConfig.Builder |
requestHeaders(Map<String,String> requestHeaders)
The headers for the REST call.
|
public RestCallConfig.Builder methodType(RestCallConfig.MethodType methodType)
The REST method to use.
methodType
- the value to setpublic RestCallConfig.Builder requestHeaders(Map<String,String> requestHeaders)
The headers for the REST call.
requestHeaders
- the value to setpublic RestCallConfig.Builder configValues(ConfigValues configValues)
public RestCallConfig build()
public RestCallConfig.Builder copy(RestCallConfig model)
Copyright © 2016–2024. All rights reserved.