Class ConditionDecision.Builder

  • Enclosing class:
    ConditionDecision

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

      • 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