BlobReferenceInputDataSourceProperties Class

public final class BlobReferenceInputDataSourceProperties
extends BlobDataSourceProperties

The properties that are associated with a blob input containing reference data.

Constructor Summary

Constructor Description
BlobReferenceInputDataSourceProperties()

Creates an instance of BlobReferenceInputDataSourceProperties class.

Method Summary

Modifier and Type Method and Description
static BlobReferenceInputDataSourceProperties fromJson(JsonReader jsonReader)

Reads an instance of BlobReferenceInputDataSourceProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BlobReferenceInputDataSourceProperties withAuthenticationMode(AuthenticationMode authenticationMode)

Set the authenticationMode property: Authentication Mode.

BlobReferenceInputDataSourceProperties withContainer(String container)

Set the container property: The name of a container within the associated Storage account.

BlobReferenceInputDataSourceProperties withDateFormat(String dateFormat)

Set the dateFormat property: The date format.

BlobReferenceInputDataSourceProperties withPathPattern(String pathPattern)

Set the pathPattern property: The blob path pattern.

BlobReferenceInputDataSourceProperties withStorageAccounts(List<StorageAccount> storageAccounts)

Set the storageAccounts property: A list of one or more Azure Storage accounts.

BlobReferenceInputDataSourceProperties withTimeFormat(String timeFormat)

Set the timeFormat property: The time format.

Methods inherited from BlobDataSourceProperties

Methods inherited from java.lang.Object

Constructor Details

BlobReferenceInputDataSourceProperties

public BlobReferenceInputDataSourceProperties()

Creates an instance of BlobReferenceInputDataSourceProperties class.

Method Details

fromJson

public static BlobReferenceInputDataSourceProperties fromJson(JsonReader jsonReader)

Reads an instance of BlobReferenceInputDataSourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BlobReferenceInputDataSourceProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

BlobReferenceInputDataSourceProperties.validate()

withAuthenticationMode

public BlobReferenceInputDataSourceProperties withAuthenticationMode(AuthenticationMode authenticationMode)

Set the authenticationMode property: Authentication Mode.

Overrides:

BlobReferenceInputDataSourceProperties.withAuthenticationMode(AuthenticationMode authenticationMode)

Parameters:

authenticationMode

withContainer

public BlobReferenceInputDataSourceProperties withContainer(String container)

Set the container property: The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.

Overrides:

BlobReferenceInputDataSourceProperties.withContainer(String container)

Parameters:

container

withDateFormat

public BlobReferenceInputDataSourceProperties withDateFormat(String dateFormat)

Set the dateFormat property: The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead.

Overrides:

BlobReferenceInputDataSourceProperties.withDateFormat(String dateFormat)

Parameters:

dateFormat

withPathPattern

public BlobReferenceInputDataSourceProperties withPathPattern(String pathPattern)

Set the pathPattern property: The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example.

Overrides:

BlobReferenceInputDataSourceProperties.withPathPattern(String pathPattern)

Parameters:

pathPattern

withStorageAccounts

public BlobReferenceInputDataSourceProperties withStorageAccounts(List<StorageAccount> storageAccounts)

Set the storageAccounts property: A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.

Overrides:

BlobReferenceInputDataSourceProperties.withStorageAccounts(List<StorageAccount> storageAccounts)

Parameters:

storageAccounts

withTimeFormat

public BlobReferenceInputDataSourceProperties withTimeFormat(String timeFormat)

Set the timeFormat property: The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead.

Overrides:

BlobReferenceInputDataSourceProperties.withTimeFormat(String timeFormat)

Parameters:

timeFormat

Applies to