public static class OnBehalfOfRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OnBehalfOfRequest |
build() |
OnBehalfOfRequest.Builder |
copy(OnBehalfOfRequest model) |
OnBehalfOfRequest.Builder |
expiration(String expiration)
A duration for which the obo token is requested to be valid.
|
OnBehalfOfRequest.Builder |
oboToken(String oboToken)
If you have an obo token already, exchange that for a new obo token.
|
OnBehalfOfRequest.Builder |
requestHeaders(Map<String,List<String>> requestHeaders)
The signed headers of the customer call.
|
OnBehalfOfRequest.Builder |
targetServiceName(String targetServiceName)
The name of the target service.
|
public OnBehalfOfRequest.Builder requestHeaders(Map<String,List<String>> requestHeaders)
The signed headers of the customer call.
requestHeaders
- the value to setpublic OnBehalfOfRequest.Builder targetServiceName(String targetServiceName)
The name of the target service.
targetServiceName
- the value to setpublic OnBehalfOfRequest.Builder oboToken(String oboToken)
If you have an obo token already, exchange that for a new obo token.
oboToken
- the value to setpublic OnBehalfOfRequest.Builder expiration(String expiration)
A duration for which the obo token is requested to be valid.
expiration
- the value to setpublic OnBehalfOfRequest build()
public OnBehalfOfRequest.Builder copy(OnBehalfOfRequest model)
Copyright © 2016–2024. All rights reserved.