Class DomainIntent.Builder

    • Constructor Detail

      • Builder

        protected Builder()
        Creates a new empty builder.
    • Method Detail

      • priority

        public DomainIntent.Builder priority​(int priority)
        Description copied from class: Intent.Builder
        Sets the priority for the intent that will be built.
        Overrides:
        priority in class Intent.Builder
        Parameters:
        priority - priority to use for built intent
        Returns:
        this builder
      • treatment

        public DomainIntent.Builder treatment​(TrafficTreatment treatment)
        Sets the traffic treatment for the intent that will be built.
        Parameters:
        treatment - treatment to use for built intent
        Returns:
        this builder
      • constraints

        public DomainIntent.Builder constraints​(List<Constraint> constraints)
        Sets the constraints for the intent that will be built.
        Parameters:
        constraints - constraints to use for built intent
        Returns:
        this builder