InputProperties Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. InputProperties
- com.
Implements
public class InputProperties
implements JsonSerializable<InputProperties>
The properties that are associated with an input.
Constructor Summary
Constructor | Description |
---|---|
InputProperties() |
Creates an instance of Input |
Method Summary
Modifier and Type | Method and Description |
---|---|
Compression |
compression()
Get the compression property: Describes how input data is compressed. |
Diagnostics |
diagnostics()
Get the diagnostics property: Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention. |
String |
etag()
Get the etag property: The current entity tag for the input. |
static
Input |
fromJson(JsonReader jsonReader)
Reads an instance of Input |
String |
partitionKey()
Get the partition |
Serialization |
serialization()
Get the serialization property: Describes how data from an input is serialized or how data is serialized when written to an output. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Indicates whether the input is a source of reference data or stream data. |
void |
validate()
Validates the instance. |
Input |
watermarkSettings()
Get the watermark |
Input |
withCompression(Compression compression)
Set the compression property: Describes how input data is compressed. |
Input |
withPartitionKey(String partitionKey)
Set the partition |
Input |
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. |
Input |
withWatermarkSettings(InputWatermarkProperties watermarkSettings)
Set the watermark |
Methods inherited from java.lang.Object
Constructor Details
InputProperties
public InputProperties()
Creates an instance of InputProperties class.
Method Details
compression
public Compression compression()
Get the compression property: Describes how input data is compressed.
Returns:
diagnostics
public Diagnostics diagnostics()
Get the diagnostics property: Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.
Returns:
etag
public String etag()
Get the etag property: The current entity tag for the input. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
Returns:
fromJson
public static InputProperties fromJson(JsonReader jsonReader)
Reads an instance of InputProperties from the JsonReader.
Parameters:
Returns:
Throws:
partitionKey
public String partitionKey()
Get the partitionKey property: partitionKey Describes a key in the input data which is used for partitioning the input data.
Returns:
serialization
public Serialization serialization()
Get 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.
Returns:
toJson
type
public String type()
Get the type property: Indicates whether the input is a source of reference data or stream data. Required on PUT (CreateOrReplace) requests.
Returns:
validate
public void validate()
Validates the instance.
watermarkSettings
public InputWatermarkProperties watermarkSettings()
Get the watermarkSettings property: Settings which determine whether to read watermark events.
Returns:
withCompression
public InputProperties withCompression(Compression compression)
Set the compression property: Describes how input data is compressed.
Parameters:
Returns:
withPartitionKey
public InputProperties withPartitionKey(String partitionKey)
Set the partitionKey property: partitionKey Describes a key in the input data which is used for partitioning the input data.
Parameters:
Returns:
withSerialization
public InputProperties 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.
Parameters:
Returns:
withWatermarkSettings
public InputProperties withWatermarkSettings(InputWatermarkProperties watermarkSettings)
Set the watermarkSettings property: Settings which determine whether to read watermark events.
Parameters:
Returns:
Applies to
Azure SDK for Java