public static class RequestAuthenticationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public RequestAuthenticationDetails.Builder oauthScheme(OAuthSchemes oauthScheme)
Request HTTP OAuth scheme.
oauthScheme
- the value to setpublic RequestAuthenticationDetails.Builder authUserName(String authUserName)
User name for authentication.
authUserName
- the value to setpublic RequestAuthenticationDetails.Builder authUserPassword(String authUserPassword)
User password for authentication.
authUserPassword
- the value to setpublic RequestAuthenticationDetails.Builder authToken(String authToken)
Authentication token.
authToken
- the value to setpublic RequestAuthenticationDetails.Builder authUrl(String authUrl)
URL to get authentication token.
authUrl
- the value to setpublic RequestAuthenticationDetails.Builder authHeaders(List<Header> authHeaders)
List of authentication headers. Example: [{"headerName": "content-type",
"headerValue":"json"}]
authHeaders
- the value to setpublic RequestAuthenticationDetails.Builder authRequestMethod(RequestMethods authRequestMethod)
Request method.
authRequestMethod
- the value to setpublic RequestAuthenticationDetails.Builder authRequestPostBody(String authRequestPostBody)
Request post body.
authRequestPostBody
- the value to setpublic RequestAuthenticationDetails build()
public RequestAuthenticationDetails.Builder copy(RequestAuthenticationDetails model)
Copyright © 2016–2024. All rights reserved.