Class DataFlow


  • public final class DataFlow
    extends Object
    Definition of which streams are sent to which destinations.
    • Constructor Detail

      • DataFlow

        public DataFlow()
    • Method Detail

      • streams

        public List<KnownDataFlowStreams> streams()
        Get the streams property: List of streams for this data flow.
        Returns:
        the streams value.
      • withStreams

        public DataFlow withStreams​(List<KnownDataFlowStreams> streams)
        Set the streams property: List of streams for this data flow.
        Parameters:
        streams - the streams value to set.
        Returns:
        the DataFlow object itself.
      • destinations

        public List<String> destinations()
        Get the destinations property: List of destinations for this data flow.
        Returns:
        the destinations value.
      • withDestinations

        public DataFlow withDestinations​(List<String> destinations)
        Set the destinations property: List of destinations for this data flow.
        Parameters:
        destinations - the destinations value to set.
        Returns:
        the DataFlow object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.