Compression Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. Compression
- com.
Implements
public final class Compression
implements JsonSerializable<Compression>
Describes how input data is compressed.
Constructor Summary
| Constructor | Description |
|---|---|
| Compression() |
Creates an instance of Compression class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Compression |
fromJson(JsonReader jsonReader)
Reads an instance of Compression from the Json |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Compression |
type()
Get the type property: Indicates the type of compression that the input uses. |
| void |
validate()
Validates the instance. |
| Compression |
withType(CompressionType type)
Set the type property: Indicates the type of compression that the input uses. |
Methods inherited from java.lang.Object
Constructor Details
Compression
public Compression()
Creates an instance of Compression class.
Method Details
fromJson
public static Compression fromJson(JsonReader jsonReader)
Reads an instance of Compression from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public CompressionType type()
Get the type property: Indicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests.
Returns:
validate
public void validate()
Validates the instance.
withType
public Compression withType(CompressionType type)
Set the type property: Indicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns: