Class Compression
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.Compression
-
public final class Compression extends Object
Describes how input data is compressed.
-
-
Constructor Summary
Constructors Constructor Description Compression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompressionType
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.
-
-
-
Method Detail
-
type
public CompressionType type()
Get the type property: Indicates the type of compression that the input uses. Required on PUT (CreateOrReplace) requests.- Returns:
- the type value.
-
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:
type
- the type value to set.- Returns:
- the Compression object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-