Class ConditionDecision.Builder

java.lang.Object
com.sun.identity.entitlement.ConditionDecision.Builder
Enclosing class:
ConditionDecision

public static final class ConditionDecision.Builder extends Object
Builder to help construct decisions.
  • Method Details

    • setAdvice

      public ConditionDecision.Builder setAdvice(Map<String,Set<String>> advice)
      Sets the advice.
      Parameters:
      advice - the advice
      Returns:
      this builder instance
    • setResponseAttributes

      public ConditionDecision.Builder setResponseAttributes(Map<String,Set<String>> responseAttributes)
      Sets the response attributes.
      Parameters:
      responseAttributes - the response attributes
      Returns:
      this builder instance
    • setTimeToLive

      public ConditionDecision.Builder setTimeToLive(long timeToLive)
      Sets the time to live.
      Parameters:
      timeToLive - the time to live
      Returns:
      this builder instance
    • build

      public ConditionDecision build()
      Builds the decision.
      Returns:
      the decision instance