Class AuthorizationRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.identitydataplane.model.AuthorizationRequest.Builder
 
- 
- Enclosing class:
- AuthorizationRequest
 
 public static class AuthorizationRequest.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationRequestbuild()AuthorizationRequest.Buildercontext(List<PermissionContext> context)A set of permission contextsAuthorizationRequest.Buildercopy(AuthorizationRequest model)AuthorizationRequest.BuilderpolicyHash(String policyHash)The hash of cached policy on the caller service side.AuthorizationRequest.BuilderrequestId(String requestId)The id of this request.AuthorizationRequest.BuilderserviceName(String serviceName)The name of the service that is making this authorization requestAuthorizationRequest.BuildersvcPrincipal(Principal svcPrincipal)The service principal object for service to service calls.AuthorizationRequest.BuilderuserPrincipal(Principal userPrincipal)The user principal object
 
- 
- 
- 
Method Detail- 
requestIdpublic AuthorizationRequest.Builder requestId(String requestId) The id of this request.It is a GUID. - Parameters:
- requestId- the value to set
- Returns:
- this builder
 
 - 
userPrincipalpublic AuthorizationRequest.Builder userPrincipal(Principal userPrincipal) The user principal object- Parameters:
- userPrincipal- the value to set
- Returns:
- this builder
 
 - 
svcPrincipalpublic AuthorizationRequest.Builder svcPrincipal(Principal svcPrincipal) The service principal object for service to service calls.- Parameters:
- svcPrincipal- the value to set
- Returns:
- this builder
 
 - 
serviceNamepublic AuthorizationRequest.Builder serviceName(String serviceName) The name of the service that is making this authorization request- Parameters:
- serviceName- the value to set
- Returns:
- this builder
 
 - 
contextpublic AuthorizationRequest.Builder context(List<PermissionContext> context) A set of permission contexts- Parameters:
- context- the value to set
- Returns:
- this builder
 
 - 
policyHashpublic AuthorizationRequest.Builder policyHash(String policyHash) The hash of cached policy on the caller service side.If this is different than what Identity has, it will send the most recent policy statements. - Parameters:
- policyHash- the value to set
- Returns:
- this builder
 
 - 
buildpublic AuthorizationRequest build() 
 - 
copypublic AuthorizationRequest.Builder copy(AuthorizationRequest model) 
 
- 
 
-