RawReferenceInputDataSource Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. ReferenceInputDataSource - com.
azure. resourcemanager. streamanalytics. models. RawReferenceInputDataSource
- com.
- com.
public final class RawReferenceInputDataSource
extends ReferenceInputDataSource
Describes a raw input data source that contains reference data. This data source type is only applicable/usable when using the query testing API. You cannot create a job with this data source type or add an input of this data source type to an existing job.
Constructor Summary
| Constructor | Description |
|---|---|
| RawReferenceInputDataSource() |
Creates an instance of Raw |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Raw |
fromJson(JsonReader jsonReader)
Reads an instance of Raw |
| String |
payload()
Get the payload property: The JSON serialized content of the input data. |
| String |
payloadUri()
Get the payload |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Indicates the type of input data source containing reference data. |
| void |
validate()
Validates the instance. |
|
Raw |
withPayload(String payload)
Set the payload property: The JSON serialized content of the input data. |
|
Raw |
withPayloadUri(String payloadUri)
Set the payload |
Methods inherited from ReferenceInputDataSource
Methods inherited from java.lang.Object
Constructor Details
RawReferenceInputDataSource
public RawReferenceInputDataSource()
Creates an instance of RawReferenceInputDataSource class.
Method Details
fromJson
public static RawReferenceInputDataSource fromJson(JsonReader jsonReader)
Reads an instance of RawReferenceInputDataSource from the JsonReader.
Parameters:
Returns:
Throws:
payload
public String payload()
Get the payload property: The JSON serialized content of the input data. Either payload or payloadUri must be set, but not both.
Returns:
payloadUri
public String payloadUri()
Get the payloadUri property: The SAS URL to a blob containing the JSON serialized content of the input data. Either payload or payloadUri must be set, but not both.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RawReferenceInputDataSource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Indicates the type of input data source containing reference data. Required on PUT (CreateOrReplace) requests.
Overrides:
RawReferenceInputDataSource.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
RawReferenceInputDataSource.validate()withPayload
public RawReferenceInputDataSource withPayload(String payload)
Set the payload property: The JSON serialized content of the input data. Either payload or payloadUri must be set, but not both.
Parameters:
Returns:
withPayloadUri
public RawReferenceInputDataSource withPayloadUri(String payloadUri)
Set the payloadUri property: The SAS URL to a blob containing the JSON serialized content of the input data. Either payload or payloadUri must be set, but not both.
Parameters:
Returns: