Class OnBehalfOfRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.identitydataplane.model.OnBehalfOfRequest.Builder
-
- Enclosing class:
- OnBehalfOfRequest
public static class OnBehalfOfRequest.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnBehalfOfRequestbuild()OnBehalfOfRequest.Buildercopy(OnBehalfOfRequest model)OnBehalfOfRequest.Builderexpiration(String expiration)A duration for which the obo token is requested to be valid.OnBehalfOfRequest.BuilderoboToken(String oboToken)If you have an obo token already, exchange that for a new obo token.OnBehalfOfRequest.BuilderrequestHeaders(Map<String,List<String>> requestHeaders)The signed headers of the customer call.OnBehalfOfRequest.BuildertargetServiceName(String targetServiceName)The name of the target service.
-
-
-
Method Detail
-
requestHeaders
public OnBehalfOfRequest.Builder requestHeaders(Map<String,List<String>> requestHeaders)
The signed headers of the customer call.- Parameters:
requestHeaders- the value to set- Returns:
- this builder
-
targetServiceName
public OnBehalfOfRequest.Builder targetServiceName(String targetServiceName)
The name of the target service.- Parameters:
targetServiceName- the value to set- Returns:
- this builder
-
oboToken
public OnBehalfOfRequest.Builder oboToken(String oboToken)
If you have an obo token already, exchange that for a new obo token.- Parameters:
oboToken- the value to set- Returns:
- this builder
-
expiration
public OnBehalfOfRequest.Builder expiration(String expiration)
A duration for which the obo token is requested to be valid.- Parameters:
expiration- the value to set- Returns:
- this builder
-
build
public OnBehalfOfRequest build()
-
copy
public OnBehalfOfRequest.Builder copy(OnBehalfOfRequest model)
-
-