Class TransformationProperties
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.fluent.models.TransformationProperties
-
public final class TransformationProperties extends Object
The properties that are associated with a transformation.
-
-
Constructor Summary
Constructors Constructor Description TransformationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: The current entity tag for the transformation.String
query()
Get the query property: Specifies the query that will be run in the streaming job.Integer
streamingUnits()
Get the streamingUnits property: Specifies the number of streaming units that the streaming job uses.void
validate()
Validates the instance.List<Integer>
validStreamingUnits()
Get the validStreamingUnits property: Specifies the valid streaming units a streaming job can scale to.TransformationProperties
withQuery(String query)
Set the query property: Specifies the query that will be run in the streaming job.TransformationProperties
withStreamingUnits(Integer streamingUnits)
Set the streamingUnits property: Specifies the number of streaming units that the streaming job uses.TransformationProperties
withValidStreamingUnits(List<Integer> validStreamingUnits)
Set the validStreamingUnits property: Specifies the valid streaming units a streaming job can scale to.
-
-
-
Method Detail
-
streamingUnits
public Integer streamingUnits()
Get the streamingUnits property: Specifies the number of streaming units that the streaming job uses.- Returns:
- the streamingUnits value.
-
withStreamingUnits
public TransformationProperties withStreamingUnits(Integer streamingUnits)
Set the streamingUnits property: Specifies the number of streaming units that the streaming job uses.- Parameters:
streamingUnits
- the streamingUnits value to set.- Returns:
- the TransformationProperties object itself.
-
validStreamingUnits
public List<Integer> validStreamingUnits()
Get the validStreamingUnits property: Specifies the valid streaming units a streaming job can scale to.- Returns:
- the validStreamingUnits value.
-
withValidStreamingUnits
public TransformationProperties withValidStreamingUnits(List<Integer> validStreamingUnits)
Set the validStreamingUnits property: Specifies the valid streaming units a streaming job can scale to.- Parameters:
validStreamingUnits
- the validStreamingUnits value to set.- Returns:
- the TransformationProperties object itself.
-
query
public String query()
Get the query property: Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests.- Returns:
- the query value.
-
withQuery
public TransformationProperties withQuery(String query)
Set the query property: Specifies the query that will be run in the streaming job. You can learn more about the Stream Analytics Query Language (SAQL) here: https://msdn.microsoft.com/library/azure/dn834998 . Required on PUT (CreateOrReplace) requests.- Parameters:
query
- the query value to set.- Returns:
- the TransformationProperties object itself.
-
etag
public String etag()
Get the etag property: The current entity tag for the transformation. 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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-