Package com.sun.identity.entitlement
Class ConditionDecision.Builder
java.lang.Object
com.sun.identity.entitlement.ConditionDecision.Builder
- Enclosing class:
- ConditionDecision
Builder to help construct decisions.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the decision.Sets the advice.setResponseAttributes(Map<String, Set<String>> responseAttributes) Sets the response attributes.setTimeToLive(long timeToLive) Sets the time to live.
-
Method Details
-
setAdvice
Sets the advice.- Parameters:
advice- the advice- Returns:
- this builder instance
-
setResponseAttributes
Sets the response attributes.- Parameters:
responseAttributes- the response attributes- Returns:
- this builder instance
-
setTimeToLive
Sets the time to live.- Parameters:
timeToLive- the time to live- Returns:
- this builder instance
-
build
Builds the decision.- Returns:
- the decision instance
-