Class OpticalOduIntent.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • src

        public OpticalOduIntent.Builder src​(ConnectPoint src)
        Sets the source for the intent that will be built.
        Parameters:
        src - source to use for built intent
        Returns:
        this builder
      • dst

        public OpticalOduIntent.Builder dst​(ConnectPoint dst)
        Sets the destination for the intent that will be built.
        Parameters:
        dst - dest to use for built intent
        Returns:
        this builder
      • signalType

        public OpticalOduIntent.Builder signalType​(CltSignalType signalType)
        Sets the ODU signal type for the intent that will be built.
        Parameters:
        signalType - signal type to use for built intent
        Returns:
        this builder
      • bidirectional

        public OpticalOduIntent.Builder bidirectional​(boolean isBidirectional)
        Sets the directionality of the intent.
        Parameters:
        isBidirectional - true if bidirectional, false if unidirectional
        Returns:
        this builder
      • build

        public OpticalOduIntent build()
        Builds an optical ODU intent from the accumulated parameters.
        Returns:
        point to point intent