Class InputProperties
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.InputProperties
-
- Direct Known Subclasses:
ReferenceInputProperties
,StreamInputProperties
public class InputProperties extends Object
The properties that are associated with an input.
-
-
Constructor Summary
Constructors Constructor Description InputProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.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.void
validate()
Validates the instance.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.
-
-
-
Method Detail
-
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.
-
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.
-
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.
-
compression
public Compression compression()
Get the compression property: Describes how input data is compressed.- Returns:
- the compression 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.
-
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.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-