BlobReferenceInputDataSource Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. ReferenceInputDataSource - com.
azure. resourcemanager. streamanalytics. models. BlobReferenceInputDataSource
- com.
- com.
public final class BlobReferenceInputDataSource
extends ReferenceInputDataSource
Describes a blob input data source that contains reference data.
Constructor Summary
| Constructor | Description |
|---|---|
| BlobReferenceInputDataSource() |
Creates an instance of Blob |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Authentication |
authenticationMode()
Get the authentication |
| String |
container()
Get the container property: The name of a container within the associated Storage account. |
| String |
dateFormat()
Get the date |
|
static
Blob |
fromJson(JsonReader jsonReader)
Reads an instance of Blob |
| String |
pathPattern()
Get the path |
|
List<Storage |
storageAccounts()
Get the storage |
| String |
timeFormat()
Get the time |
|
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. |
|
Blob |
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authentication |
|
Blob |
withContainer(String container)
Set the container property: The name of a container within the associated Storage account. |
|
Blob |
withDateFormat(String dateFormat)
Set the date |
|
Blob |
withPathPattern(String pathPattern)
Set the path |
|
Blob |
withStorageAccounts(List<StorageAccount> storageAccounts)
Set the storage |
|
Blob |
withTimeFormat(String timeFormat)
Set the time |
Methods inherited from ReferenceInputDataSource
Methods inherited from java.lang.Object
Constructor Details
BlobReferenceInputDataSource
public BlobReferenceInputDataSource()
Creates an instance of BlobReferenceInputDataSource class.
Method Details
authenticationMode
public AuthenticationMode authenticationMode()
Get the authenticationMode property: Authentication Mode.
Returns:
container
public String container()
Get 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.
Returns:
dateFormat
public String dateFormat()
Get the dateFormat property: The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead.
Returns:
fromJson
public static BlobReferenceInputDataSource fromJson(JsonReader jsonReader)
Reads an instance of BlobReferenceInputDataSource from the JsonReader.
Parameters:
Returns:
Throws:
pathPattern
public String pathPattern()
Get 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.
Returns:
storageAccounts
public List<StorageAccount> storageAccounts()
Get the storageAccounts property: A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.
Returns:
timeFormat
public String timeFormat()
Get the timeFormat property: The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BlobReferenceInputDataSource.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:
BlobReferenceInputDataSource.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
BlobReferenceInputDataSource.validate()withAuthenticationMode
public BlobReferenceInputDataSource withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.
Parameters:
Returns:
withContainer
public BlobReferenceInputDataSource 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.
Parameters:
Returns:
withDateFormat
public BlobReferenceInputDataSource 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.
Parameters:
Returns:
withPathPattern
public BlobReferenceInputDataSource 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.
Parameters:
Returns:
withStorageAccounts
public BlobReferenceInputDataSource withStorageAccounts(List<StorageAccount> storageAccounts)
Set the storageAccounts property: A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
withTimeFormat
public BlobReferenceInputDataSource 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.
Parameters:
Returns: