Class BlobOutputDataSourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.BlobDataSourceProperties
-
- com.azure.resourcemanager.streamanalytics.fluent.models.BlobOutputDataSourceProperties
-
public final class BlobOutputDataSourceProperties extends BlobDataSourceProperties
The properties that are associated with a blob output.
-
-
Constructor Summary
Constructors Constructor Description BlobOutputDataSourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationMode
authenticationMode()
Get the authenticationMode property: Authentication Mode.void
validate()
Validates the instance.BlobOutputDataSourceProperties
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.BlobOutputDataSourceProperties
withContainer(String container)
Set the container property: The name of a container within the associated Storage account.BlobOutputDataSourceProperties
withDateFormat(String dateFormat)
Set the dateFormat property: The date format.BlobOutputDataSourceProperties
withPathPattern(String pathPattern)
Set the pathPattern property: The blob path pattern.BlobOutputDataSourceProperties
withStorageAccounts(List<StorageAccount> storageAccounts)
Set the storageAccounts property: A list of one or more Azure Storage accounts.BlobOutputDataSourceProperties
withTimeFormat(String timeFormat)
Set the timeFormat property: The time format.-
Methods inherited from class com.azure.resourcemanager.streamanalytics.models.BlobDataSourceProperties
container, dateFormat, pathPattern, storageAccounts, timeFormat
-
-
-
-
Method Detail
-
authenticationMode
public AuthenticationMode authenticationMode()
Get the authenticationMode property: Authentication Mode.- Returns:
- the authenticationMode value.
-
withAuthenticationMode
public BlobOutputDataSourceProperties withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.- Parameters:
authenticationMode
- the authenticationMode value to set.- Returns:
- the BlobOutputDataSourceProperties object itself.
-
withStorageAccounts
public BlobOutputDataSourceProperties withStorageAccounts(List<StorageAccount> storageAccounts)
Set the storageAccounts property: A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.- Overrides:
withStorageAccounts
in classBlobDataSourceProperties
- Parameters:
storageAccounts
- the storageAccounts value to set.- Returns:
- the BlobDataSourceProperties object itself.
-
withContainer
public BlobOutputDataSourceProperties 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:
withContainer
in classBlobDataSourceProperties
- Parameters:
container
- the container value to set.- Returns:
- the BlobDataSourceProperties object itself.
-
withPathPattern
public BlobOutputDataSourceProperties 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:
withPathPattern
in classBlobDataSourceProperties
- Parameters:
pathPattern
- the pathPattern value to set.- Returns:
- the BlobDataSourceProperties object itself.
-
withDateFormat
public BlobOutputDataSourceProperties 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:
withDateFormat
in classBlobDataSourceProperties
- Parameters:
dateFormat
- the dateFormat value to set.- Returns:
- the BlobDataSourceProperties object itself.
-
withTimeFormat
public BlobOutputDataSourceProperties 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:
withTimeFormat
in classBlobDataSourceProperties
- Parameters:
timeFormat
- the timeFormat value to set.- Returns:
- the BlobDataSourceProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classBlobDataSourceProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-