RawInputDatasourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. fluent. models. RawInputDatasourceProperties
- com.
Implements
public final class RawInputDatasourceProperties
implements JsonSerializable<RawInputDatasourceProperties>
The properties that are associated with a raw input.
Constructor Summary
| Constructor | Description |
|---|---|
| RawInputDatasourceProperties() |
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) |
| 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 java.lang.Object
Constructor Details
RawInputDatasourceProperties
public RawInputDatasourceProperties()
Creates an instance of RawInputDatasourceProperties class.
Method Details
fromJson
public static RawInputDatasourceProperties fromJson(JsonReader jsonReader)
Reads an instance of RawInputDatasourceProperties 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
validate
public void validate()
Validates the instance.
withPayload
public RawInputDatasourceProperties 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 RawInputDatasourceProperties 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: