Class StreamInputProperties


  • public final class StreamInputProperties
    extends InputProperties
    The properties that are associated with an input containing stream data.
    • Constructor Detail

      • StreamInputProperties

        public StreamInputProperties()
    • Method Detail

      • datasource

        public StreamInputDataSource datasource()
        Get the datasource property: Describes an input data source that contains stream data. Required on PUT (CreateOrReplace) requests.
        Returns:
        the datasource value.
      • withDatasource

        public StreamInputProperties withDatasource​(StreamInputDataSource datasource)
        Set the datasource property: Describes an input data source that contains stream data. Required on PUT (CreateOrReplace) requests.
        Parameters:
        datasource - the datasource value to set.
        Returns:
        the StreamInputProperties object itself.
      • withSerialization

        public StreamInputProperties withSerialization​(Serialization serialization)
        Set the serialization property: Describes how data from an input is serialized or how data is serialized when written to an output. Required on PUT (CreateOrReplace) requests.
        Overrides:
        withSerialization in class InputProperties
        Parameters:
        serialization - the serialization value to set.
        Returns:
        the InputProperties object itself.
      • withCompression

        public StreamInputProperties withCompression​(Compression compression)
        Set the compression property: Describes how input data is compressed.
        Overrides:
        withCompression in class InputProperties
        Parameters:
        compression - the compression value to set.
        Returns:
        the InputProperties object itself.
      • withPartitionKey

        public StreamInputProperties withPartitionKey​(String partitionKey)
        Set the partitionKey property: partitionKey Describes a key in the input data which is used for partitioning the input data.
        Overrides:
        withPartitionKey in class InputProperties
        Parameters:
        partitionKey - the partitionKey value to set.
        Returns:
        the InputProperties object itself.