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