public static class ThickAuthorizationResponse.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ThickAuthorizationResponse |
build() |
ThickAuthorizationResponse.Builder |
copy(ThickAuthorizationResponse model) |
ThickAuthorizationResponse.Builder |
flushAllCaches(Boolean flushAllCaches)
If set to true, the SDK should clear the caches.
|
ThickAuthorizationResponse.Builder |
groupMembershipCacheDuration(String groupMembershipCacheDuration)
The duration of how long the user’s group membership should be cached.
|
ThickAuthorizationResponse.Builder |
groups(List<String> groups)
The policy string related to the request.
|
ThickAuthorizationResponse.Builder |
policy(String policy)
The policy string related to the request
|
ThickAuthorizationResponse.Builder |
policyCacheDuration(String policyCacheDuration)
The duration of how long this policy should be cached.
|
public ThickAuthorizationResponse.Builder policy(String policy)
The policy string related to the request
policy
- the value to setpublic ThickAuthorizationResponse.Builder policyCacheDuration(String policyCacheDuration)
The duration of how long this policy should be cached. Note that the type is of type java.time.Duration, not string.
policyCacheDuration
- the value to setpublic ThickAuthorizationResponse.Builder groups(List<String> groups)
The policy string related to the request.
groups
- the value to setpublic ThickAuthorizationResponse.Builder groupMembershipCacheDuration(String groupMembershipCacheDuration)
The duration of how long the user’s group membership should be cached. Note that the type is of type java.time.Duration, not string.
groupMembershipCacheDuration
- the value to setpublic ThickAuthorizationResponse.Builder flushAllCaches(Boolean flushAllCaches)
If set to true, the SDK should clear the caches.
flushAllCaches
- the value to setpublic ThickAuthorizationResponse build()
public ThickAuthorizationResponse.Builder copy(ThickAuthorizationResponse model)
Copyright © 2016–2024. All rights reserved.