QueryInput Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. QueryInput
- com.
Implements
public final class QueryInput
implements JsonSerializable<QueryInput>
An input for the query compilation.
Constructor Summary
| Constructor | Description |
|---|---|
| QueryInput() |
Creates an instance of Query |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Query |
fromJson(JsonReader jsonReader)
Reads an instance of Query |
| String |
name()
Get the name property: The name of the input. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the input, can be Stream or Reference. |
| void |
validate()
Validates the instance. |
|
Query |
withName(String name)
Set the name property: The name of the input. |
|
Query |
withType(String type)
Set the type property: The type of the input, can be Stream or Reference. |
Methods inherited from java.lang.Object
Constructor Details
QueryInput
public QueryInput()
Creates an instance of QueryInput class.
Method Details
fromJson
public static QueryInput fromJson(JsonReader jsonReader)
Reads an instance of QueryInput from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the input.
Returns:
toJson
type
public String type()
Get the type property: The type of the input, can be Stream or Reference.
Returns:
validate
public void validate()
Validates the instance.
withName
public QueryInput withName(String name)
Set the name property: The name of the input.
Parameters:
Returns:
withType
public QueryInput withType(String type)
Set the type property: The type of the input, can be Stream or Reference.
Parameters:
Returns: