TransformationInner Class

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 TransformationInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: The current entity tag for the transformation.

static TransformationInner fromJson(JsonReader jsonReader)

Reads an instance of TransformationInner from the JsonReader.

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 streamingUnits property: Specifies the number of streaming units that the streaming job uses.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

List<Integer> validStreamingUnits()

Get the validStreamingUnits property: Specifies the valid streaming units a streaming job can scale to.

TransformationInner withId(String id)
TransformationInner withName(String name)

Set the name property: Resource name.

TransformationInner withQuery(String query)

Set the query property: Specifies the query that will be run in the streaming job.

TransformationInner withStreamingUnits(Integer streamingUnits)

Set the streamingUnits property: Specifies the number of streaming units that the streaming job uses.

TransformationInner withValidStreamingUnits(List<Integer> validStreamingUnits)

Set the validStreamingUnits property: Specifies the valid streaming units a streaming job can scale to.

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:

the etag value.

fromJson

public static TransformationInner fromJson(JsonReader jsonReader)

Reads an instance of TransformationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TransformationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TransformationInner.

name

public String name()

Get the name property: Resource name.

Returns:

the name value.

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.

streamingUnits

public Integer streamingUnits()

Get the streamingUnits property: Specifies the number of streaming units that the streaming job uses.

Returns:

the streamingUnits value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

TransformationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

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:

the validStreamingUnits value.

withId

public TransformationInner withId(String id)

Overrides:

TransformationInner.withId(String id)

Parameters:

id

withName

public TransformationInner withName(String name)

Set the name property: Resource name.

Parameters:

name - the name value to set.

Returns:

the TransformationInner object itself.

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:

query - the query value to set.

Returns:

the TransformationInner object itself.

withStreamingUnits

public TransformationInner 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 TransformationInner object itself.

withValidStreamingUnits

public TransformationInner 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 TransformationInner object itself.

Applies to