InputProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.models.InputProperties

Implements

public class InputProperties
implements JsonSerializable<InputProperties>

The properties that are associated with an input.

Constructor Summary

Constructor Description
InputProperties()

Creates an instance of InputProperties class.

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 InputProperties fromJson(JsonReader jsonReader)

Reads an instance of InputProperties from the JsonReader.

String partitionKey()

Get the partitionKey property: partitionKey Describes a key in the input data which is used for partitioning the input data.

Serialization serialization()

Get the serialization property: Describes how data from an input is serialized or how data is serialized when written to an output.

JsonWriter 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.

InputWatermarkProperties watermarkSettings()

Get the watermarkSettings property: Settings which determine whether to read watermark events.

InputProperties withCompression(Compression compression)

Set the compression property: Describes how input data is compressed.

InputProperties withPartitionKey(String partitionKey)

Set the partitionKey property: partitionKey Describes a key in the input data which is used for partitioning the input data.

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.

InputProperties withWatermarkSettings(InputWatermarkProperties watermarkSettings)

Set the watermarkSettings property: Settings which determine whether to read watermark events.

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:

the compression value.

diagnostics

public Diagnostics diagnostics()

Get the diagnostics property: Describes conditions applicable to the Input, Output, or the job overall, that warrant customer attention.

Returns:

the diagnostics value.

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:

the etag value.

fromJson

public static InputProperties fromJson(JsonReader jsonReader)

Reads an instance of InputProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of InputProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the InputProperties.

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:

the partitionKey value.

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:

the serialization value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

the type value.

validate

public void validate()

Validates the instance.

watermarkSettings

public InputWatermarkProperties watermarkSettings()

Get the watermarkSettings property: Settings which determine whether to read watermark events.

Returns:

the watermarkSettings value.

withCompression

public InputProperties withCompression(Compression compression)

Set the compression property: Describes how input data is compressed.

Parameters:

compression - the compression value to set.

Returns:

the InputProperties object itself.

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:

partitionKey - the partitionKey value to set.

Returns:

the InputProperties object itself.

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:

serialization - the serialization value to set.

Returns:

the InputProperties object itself.

withWatermarkSettings

public InputProperties withWatermarkSettings(InputWatermarkProperties watermarkSettings)

Set the watermarkSettings property: Settings which determine whether to read watermark events.

Parameters:

watermarkSettings - the watermarkSettings value to set.

Returns:

the InputProperties object itself.

Applies to