Class ThickAuthorizationResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.identitydataplane.model.ThickAuthorizationResponse.Builder
-
- Enclosing class:
- ThickAuthorizationResponse
public static class ThickAuthorizationResponse.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThickAuthorizationResponsebuild()ThickAuthorizationResponse.Buildercopy(ThickAuthorizationResponse model)ThickAuthorizationResponse.BuilderflushAllCaches(Boolean flushAllCaches)If set to true, the SDK should clear the caches.ThickAuthorizationResponse.BuildergroupMembershipCacheDuration(String groupMembershipCacheDuration)The duration of how long the user’s group membership should be cached.ThickAuthorizationResponse.Buildergroups(List<String> groups)The policy string related to the request.ThickAuthorizationResponse.Builderpolicy(String policy)The policy string related to the requestThickAuthorizationResponse.BuilderpolicyCacheDuration(String policyCacheDuration)The duration of how long this policy should be cached.
-
-
-
Method Detail
-
policy
public ThickAuthorizationResponse.Builder policy(String policy)
The policy string related to the request- Parameters:
policy- the value to set- Returns:
- this builder
-
policyCacheDuration
public 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.
- Parameters:
policyCacheDuration- the value to set- Returns:
- this builder
-
groups
public ThickAuthorizationResponse.Builder groups(List<String> groups)
The policy string related to the request.- Parameters:
groups- the value to set- Returns:
- this builder
-
groupMembershipCacheDuration
public 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.
- Parameters:
groupMembershipCacheDuration- the value to set- Returns:
- this builder
-
flushAllCaches
public ThickAuthorizationResponse.Builder flushAllCaches(Boolean flushAllCaches)
If set to true, the SDK should clear the caches.- Parameters:
flushAllCaches- the value to set- Returns:
- this builder
-
build
public ThickAuthorizationResponse build()
-
copy
public ThickAuthorizationResponse.Builder copy(ThickAuthorizationResponse model)
-
-