Class AzureTableOutputDataSource
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.OutputDataSource
-
- com.azure.resourcemanager.streamanalytics.models.AzureTableOutputDataSource
-
public final class AzureTableOutputDataSource extends OutputDataSource
Describes an Azure Table output data source.
-
-
Constructor Summary
Constructors Constructor Description AzureTableOutputDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accountKey()
Get the accountKey property: The account key for the Azure Storage account.String
accountName()
Get the accountName property: The name of the Azure Storage account.Integer
batchSize()
Get the batchSize property: The number of rows to write to the Azure Table at a time.List<String>
columnsToRemove()
Get the columnsToRemove property: If specified, each item in the array is the name of a column to remove (if present) from output event entities.String
partitionKey()
Get the partitionKey property: This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table.String
rowKey()
Get the rowKey property: This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table.String
table()
Get the table property: The name of the Azure Table.void
validate()
Validates the instance.AzureTableOutputDataSource
withAccountKey(String accountKey)
Set the accountKey property: The account key for the Azure Storage account.AzureTableOutputDataSource
withAccountName(String accountName)
Set the accountName property: The name of the Azure Storage account.AzureTableOutputDataSource
withBatchSize(Integer batchSize)
Set the batchSize property: The number of rows to write to the Azure Table at a time.AzureTableOutputDataSource
withColumnsToRemove(List<String> columnsToRemove)
Set the columnsToRemove property: If specified, each item in the array is the name of a column to remove (if present) from output event entities.AzureTableOutputDataSource
withPartitionKey(String partitionKey)
Set the partitionKey property: This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table.AzureTableOutputDataSource
withRowKey(String rowKey)
Set the rowKey property: This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table.AzureTableOutputDataSource
withTable(String table)
Set the table property: The name of the Azure Table.
-
-
-
Method Detail
-
accountName
public String accountName()
Get the accountName property: The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.- Returns:
- the accountName value.
-
withAccountName
public AzureTableOutputDataSource withAccountName(String accountName)
Set the accountName property: The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.- Parameters:
accountName
- the accountName value to set.- Returns:
- the AzureTableOutputDataSource object itself.
-
accountKey
public String accountKey()
Get the accountKey property: The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.- Returns:
- the accountKey value.
-
withAccountKey
public AzureTableOutputDataSource withAccountKey(String accountKey)
Set the accountKey property: The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.- Parameters:
accountKey
- the accountKey value to set.- Returns:
- the AzureTableOutputDataSource object itself.
-
table
public String table()
Get the table property: The name of the Azure Table. Required on PUT (CreateOrReplace) requests.- Returns:
- the table value.
-
withTable
public AzureTableOutputDataSource withTable(String table)
Set the table property: The name of the Azure Table. Required on PUT (CreateOrReplace) requests.- Parameters:
table
- the table value to set.- Returns:
- the AzureTableOutputDataSource object itself.
-
partitionKey
public String partitionKey()
Get the partitionKey property: This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests.- Returns:
- the partitionKey value.
-
withPartitionKey
public AzureTableOutputDataSource withPartitionKey(String partitionKey)
Set the partitionKey property: This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests.- Parameters:
partitionKey
- the partitionKey value to set.- Returns:
- the AzureTableOutputDataSource object itself.
-
rowKey
public String rowKey()
Get the rowKey property: This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests.- Returns:
- the rowKey value.
-
withRowKey
public AzureTableOutputDataSource withRowKey(String rowKey)
Set the rowKey property: This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests.- Parameters:
rowKey
- the rowKey value to set.- Returns:
- the AzureTableOutputDataSource object itself.
-
columnsToRemove
public List<String> columnsToRemove()
Get the columnsToRemove property: If specified, each item in the array is the name of a column to remove (if present) from output event entities.- Returns:
- the columnsToRemove value.
-
withColumnsToRemove
public AzureTableOutputDataSource withColumnsToRemove(List<String> columnsToRemove)
Set the columnsToRemove property: If specified, each item in the array is the name of a column to remove (if present) from output event entities.- Parameters:
columnsToRemove
- the columnsToRemove value to set.- Returns:
- the AzureTableOutputDataSource object itself.
-
batchSize
public Integer batchSize()
Get the batchSize property: The number of rows to write to the Azure Table at a time.- Returns:
- the batchSize value.
-
withBatchSize
public AzureTableOutputDataSource withBatchSize(Integer batchSize)
Set the batchSize property: The number of rows to write to the Azure Table at a time.- Parameters:
batchSize
- the batchSize value to set.- Returns:
- the AzureTableOutputDataSource object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classOutputDataSource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-