Class PointToPointIntent


  • @Beta
    public final class PointToPointIntent
    extends ConnectivityIntent
    Abstraction of point-to-point connectivity.
    • Constructor Detail

      • PointToPointIntent

        protected PointToPointIntent()
        Constructor for serializer.
    • Method Detail

      • builder

        public static PointToPointIntent.Builder builder()
        Returns a new point to point intent builder. The application id, ingress point and egress point are required fields. If they are not set by calls to the appropriate methods, an exception will be thrown.
        Returns:
        point to point builder
      • filteredIngressPoint

        public FilteredConnectPoint filteredIngressPoint()
        Returns the filtered port on which the ingress traffic should be connected to the egress.
        Returns:
        ingress port
      • filteredEgressPoint

        public FilteredConnectPoint filteredEgressPoint()
        Return the filtered port on which the traffic should exit.
        Returns:
        egress port
      • suggestedPath

        public List<Link> suggestedPath()
        Return the suggested path (as a list of links) that the compiler should use.
        Returns:
        suggested path