TransformationInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. streamanalytics. fluent. models. TransformationInner
- com.
- com.
public final class TransformationInner
extends SubResource
A transformation object, containing all information associated with the named transformation. All transformations are contained under a streaming job.
Constructor Summary
| Constructor | Description |
|---|---|
| TransformationInner() |
Creates an instance of Transformation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: The current entity tag for the transformation. |
|
static
Transformation |
fromJson(JsonReader jsonReader)
Reads an instance of Transformation |
| String |
name()
Get the name property: Resource name. |
| String |
query()
Get the query property: Specifies the query that will be run in the streaming job. |
| Integer |
streamingUnits()
Get the streaming |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Resource type. |
| void |
validate()
Validates the instance. |
| List<Integer> |
validStreamingUnits()
Get the valid |
|
Transformation |
withId(String id) |
|
Transformation |
withName(String name)
Set the name property: Resource name. |
|
Transformation |
withQuery(String query)
Set the query property: Specifies the query that will be run in the streaming job. |
|
Transformation |
withStreamingUnits(Integer streamingUnits)
Set the streaming |
|
Transformation |
withValidStreamingUnits(List<Integer> validStreamingUnits)
Set the valid |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
TransformationInner
public TransformationInner()
Creates an instance of TransformationInner class.
Method Details
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:
fromJson
public static TransformationInner fromJson(JsonReader jsonReader)
Reads an instance of TransformationInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Resource name.
Returns:
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:
streamingUnits
public Integer streamingUnits()
Get the streamingUnits property: Specifies the number of streaming units that the streaming job uses.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
TransformationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
validStreamingUnits
public List<Integer> validStreamingUnits()
Get the validStreamingUnits property: Specifies the valid streaming units a streaming job can scale to.
Returns:
withId
public TransformationInner withId(String id)
Overrides:
TransformationInner.withId(String id)Parameters:
withName
public TransformationInner withName(String name)
Set the name property: Resource name.
Parameters:
Returns:
withQuery
public TransformationInner 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:
Returns:
withStreamingUnits
public TransformationInner withStreamingUnits(Integer streamingUnits)
Set the streamingUnits property: Specifies the number of streaming units that the streaming job uses.
Parameters:
Returns:
withValidStreamingUnits
public TransformationInner withValidStreamingUnits(List<Integer> validStreamingUnits)
Set the validStreamingUnits property: Specifies the valid streaming units a streaming job can scale to.
Parameters:
Returns: