SampleInputResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.streamanalytics.fluent.models.SampleInputResultInner

Implements

public final class SampleInputResultInner
implements JsonSerializable<SampleInputResultInner>

The result of the sample input request.

Constructor Summary

Constructor Description
SampleInputResultInner()

Creates an instance of SampleInputResultInner class.

Method Summary

Modifier and Type Method and Description
List<String> diagnostics()

Get the diagnostics property: Diagnostics messages.

ManagementError error()

Get the error property: Error definition properties.

String eventsDownloadUrl()

Get the eventsDownloadUrl property: A SAS URL to download the sampled input data.

static SampleInputResultInner fromJson(JsonReader jsonReader)

Reads an instance of SampleInputResultInner from the JsonReader.

String lastArrivalTime()

Get the lastArrivalTime property: The timestamp for the last event in the data.

SampleInputResultStatus status()

Get the status property: The status of the sample input request.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SampleInputResultInner withError(ManagementError error)

Set the error property: Error definition properties.

Methods inherited from java.lang.Object

Constructor Details

SampleInputResultInner

public SampleInputResultInner()

Creates an instance of SampleInputResultInner class.

Method Details

diagnostics

public List<String> diagnostics()

Get the diagnostics property: Diagnostics messages. E.g. message indicating some partitions from the input have no data.

Returns:

the diagnostics value.

error

public ManagementError error()

Get the error property: Error definition properties.

Returns:

the error value.

eventsDownloadUrl

public String eventsDownloadUrl()

Get the eventsDownloadUrl property: A SAS URL to download the sampled input data.

Returns:

the eventsDownloadUrl value.

fromJson

public static SampleInputResultInner fromJson(JsonReader jsonReader)

Reads an instance of SampleInputResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SampleInputResultInner 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 SampleInputResultInner.

lastArrivalTime

public String lastArrivalTime()

Get the lastArrivalTime property: The timestamp for the last event in the data. It is in DateTime format.

Returns:

the lastArrivalTime value.

status

public SampleInputResultStatus status()

Get the status property: The status of the sample input request.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withError

public SampleInputResultInner withError(ManagementError error)

Set the error property: Error definition properties.

Parameters:

error - the error value to set.

Returns:

the SampleInputResultInner object itself.

Applies to