SampleInputInner Class

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

Implements

public final class SampleInputInner
implements JsonSerializable<SampleInputInner>

The stream analytics input to sample.

Constructor Summary

Constructor Description
SampleInputInner()

Creates an instance of SampleInputInner class.

Method Summary

Modifier and Type Method and Description
String compatibilityLevel()

Get the compatibilityLevel property: Defaults to the default ASA job compatibility level.

String dataLocale()

Get the dataLocale property: Defaults to en-US.

String eventsUri()

Get the eventsUri property: The SAS URI of the storage blob for service to write the sampled events to.

static SampleInputInner fromJson(JsonReader jsonReader)

Reads an instance of SampleInputInner from the JsonReader.

InputInner input()

Get the input property: The stream analytics input to sample.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SampleInputInner withCompatibilityLevel(String compatibilityLevel)

Set the compatibilityLevel property: Defaults to the default ASA job compatibility level.

SampleInputInner withDataLocale(String dataLocale)

Set the dataLocale property: Defaults to en-US.

SampleInputInner withEventsUri(String eventsUri)

Set the eventsUri property: The SAS URI of the storage blob for service to write the sampled events to.

SampleInputInner withInput(InputInner input)

Set the input property: The stream analytics input to sample.

Methods inherited from java.lang.Object

Constructor Details

SampleInputInner

public SampleInputInner()

Creates an instance of SampleInputInner class.

Method Details

compatibilityLevel

public String compatibilityLevel()

Get the compatibilityLevel property: Defaults to the default ASA job compatibility level. Today it is 1.2.

Returns:

the compatibilityLevel value.

dataLocale

public String dataLocale()

Get the dataLocale property: Defaults to en-US.

Returns:

the dataLocale value.

eventsUri

public String eventsUri()

Get the eventsUri property: The SAS URI of the storage blob for service to write the sampled events to. If this parameter is not provided, service will write events to he system account and share a temporary SAS URI to it.

Returns:

the eventsUri value.

fromJson

public static SampleInputInner fromJson(JsonReader jsonReader)

Reads an instance of SampleInputInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

input

public InputInner input()

Get the input property: The stream analytics input to sample.

Returns:

the input value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCompatibilityLevel

public SampleInputInner withCompatibilityLevel(String compatibilityLevel)

Set the compatibilityLevel property: Defaults to the default ASA job compatibility level. Today it is 1.2.

Parameters:

compatibilityLevel - the compatibilityLevel value to set.

Returns:

the SampleInputInner object itself.

withDataLocale

public SampleInputInner withDataLocale(String dataLocale)

Set the dataLocale property: Defaults to en-US.

Parameters:

dataLocale - the dataLocale value to set.

Returns:

the SampleInputInner object itself.

withEventsUri

public SampleInputInner withEventsUri(String eventsUri)

Set the eventsUri property: The SAS URI of the storage blob for service to write the sampled events to. If this parameter is not provided, service will write events to he system account and share a temporary SAS URI to it.

Parameters:

eventsUri - the eventsUri value to set.

Returns:

the SampleInputInner object itself.

withInput

public SampleInputInner withInput(InputInner input)

Set the input property: The stream analytics input to sample.

Parameters:

input - the input value to set.

Returns:

the SampleInputInner object itself.

Applies to