Class StreamInputProperties
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.InputProperties
-
- com.azure.resourcemanager.streamanalytics.models.StreamInputProperties
-
public final class StreamInputProperties extends InputProperties
The properties that are associated with an input containing stream data.
-
-
Constructor Summary
Constructors Constructor Description StreamInputProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamInputDataSource
datasource()
Get the datasource property: Describes an input data source that contains stream data.void
validate()
Validates the instance.StreamInputProperties
withCompression(Compression compression)
Set the compression property: Describes how input data is compressed.StreamInputProperties
withDatasource(StreamInputDataSource datasource)
Set the datasource property: Describes an input data source that contains stream data.StreamInputProperties
withPartitionKey(String partitionKey)
Set the partitionKey property: partitionKey Describes a key in the input data which is used for partitioning the input data.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.-
Methods inherited from class com.azure.resourcemanager.streamanalytics.models.InputProperties
compression, diagnostics, etag, partitionKey, serialization
-
-
-
-
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 classInputProperties
- 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 classInputProperties
- 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 classInputProperties
- Parameters:
partitionKey
- the partitionKey value to set.- Returns:
- the InputProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classInputProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-