public static class ThinAuthorizationResponse.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ThinAuthorizationResponse.Builder |
authorizationRequest(AuthorizationRequest authorizationRequest)
The policy string related to the request.
|
ThinAuthorizationResponse |
build() |
ThinAuthorizationResponse.Builder |
copy(ThinAuthorizationResponse model) |
ThinAuthorizationResponse.Builder |
decisionCacheDuration(String decisionCacheDuration)
The duration of how long this decision should be cached.
|
public ThinAuthorizationResponse.Builder authorizationRequest(AuthorizationRequest authorizationRequest)
The policy string related to the request.
authorizationRequest
- the value to setpublic ThinAuthorizationResponse.Builder decisionCacheDuration(String decisionCacheDuration)
The duration of how long this decision should be cached. Note that the type is of type java.time.Duration, not string.
decisionCacheDuration
- the value to setpublic ThinAuthorizationResponse build()
public ThinAuthorizationResponse.Builder copy(ThinAuthorizationResponse model)
Copyright © 2016–2024. All rights reserved.