Class DocumentDbOutputDataSourceArgs.Builder
- java.lang.Object
-
- com.pulumi.azurenative.streamanalytics.inputs.DocumentDbOutputDataSourceArgs.Builder
-
- Enclosing class:
- DocumentDbOutputDataSourceArgs
public static final class DocumentDbOutputDataSourceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DocumentDbOutputDataSourceArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DocumentDbOutputDataSourceArgs defaults)
-
-
Method Detail
-
accountId
public DocumentDbOutputDataSourceArgs.Builder accountId(@Nullable com.pulumi.core.Output<java.lang.String> accountId)
- Parameters:
accountId
- The DocumentDB account name or ID. Required on PUT (CreateOrReplace) requests.- Returns:
- builder
-
accountId
public DocumentDbOutputDataSourceArgs.Builder accountId(java.lang.String accountId)
- Parameters:
accountId
- The DocumentDB account name or ID. Required on PUT (CreateOrReplace) requests.- Returns:
- builder
-
accountKey
public DocumentDbOutputDataSourceArgs.Builder accountKey(@Nullable com.pulumi.core.Output<java.lang.String> accountKey)
- Parameters:
accountKey
- The account key for the DocumentDB account. Required on PUT (CreateOrReplace) requests.- Returns:
- builder
-
accountKey
public DocumentDbOutputDataSourceArgs.Builder accountKey(java.lang.String accountKey)
- Parameters:
accountKey
- The account key for the DocumentDB account. Required on PUT (CreateOrReplace) requests.- Returns:
- builder
-
collectionNamePattern
public DocumentDbOutputDataSourceArgs.Builder collectionNamePattern(@Nullable com.pulumi.core.Output<java.lang.String> collectionNamePattern)
- Parameters:
collectionNamePattern
- The collection name pattern for the collections to be used. The collection name format can be constructed using the optional {partition} token, where partitions start from 0. See the DocumentDB section of https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for more information. Required on PUT (CreateOrReplace) requests.- Returns:
- builder
-
collectionNamePattern
public DocumentDbOutputDataSourceArgs.Builder collectionNamePattern(java.lang.String collectionNamePattern)
- Parameters:
collectionNamePattern
- The collection name pattern for the collections to be used. The collection name format can be constructed using the optional {partition} token, where partitions start from 0. See the DocumentDB section of https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for more information. Required on PUT (CreateOrReplace) requests.- Returns:
- builder
-
database
public DocumentDbOutputDataSourceArgs.Builder database(@Nullable com.pulumi.core.Output<java.lang.String> database)
- Parameters:
database
- The name of the DocumentDB database. Required on PUT (CreateOrReplace) requests.- Returns:
- builder
-
database
public DocumentDbOutputDataSourceArgs.Builder database(java.lang.String database)
- Parameters:
database
- The name of the DocumentDB database. Required on PUT (CreateOrReplace) requests.- Returns:
- builder
-
documentId
public DocumentDbOutputDataSourceArgs.Builder documentId(@Nullable com.pulumi.core.Output<java.lang.String> documentId)
- Parameters:
documentId
- The name of the field in output events used to specify the primary key which insert or update operations are based on.- Returns:
- builder
-
documentId
public DocumentDbOutputDataSourceArgs.Builder documentId(java.lang.String documentId)
- Parameters:
documentId
- The name of the field in output events used to specify the primary key which insert or update operations are based on.- Returns:
- builder
-
partitionKey
public DocumentDbOutputDataSourceArgs.Builder partitionKey(@Nullable com.pulumi.core.Output<java.lang.String> partitionKey)
- Parameters:
partitionKey
- The name of the field in output events used to specify the key for partitioning output across collections. If 'collectionNamePattern' contains the {partition} token, this property is required to be specified.- Returns:
- builder
-
partitionKey
public DocumentDbOutputDataSourceArgs.Builder partitionKey(java.lang.String partitionKey)
- Parameters:
partitionKey
- The name of the field in output events used to specify the key for partitioning output across collections. If 'collectionNamePattern' contains the {partition} token, this property is required to be specified.- Returns:
- builder
-
type
public DocumentDbOutputDataSourceArgs.Builder type(com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type
- Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests. Expected value is 'Microsoft.Storage/DocumentDB'.- Returns:
- builder
-
type
public DocumentDbOutputDataSourceArgs.Builder type(java.lang.String type)
- Parameters:
type
- Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests. Expected value is 'Microsoft.Storage/DocumentDB'.- Returns:
- builder
-
build
public DocumentDbOutputDataSourceArgs build()
-
-