Class CosmosOptions.CosmosClientBuilderFactory
java.lang.Object
org.apache.beam.sdk.io.azure.cosmos.CosmosOptions.CosmosClientBuilderFactory
- All Implemented Interfaces:
 DefaultValueFactory<com.azure.cosmos.CosmosClientBuilder>
- Enclosing interface:
 CosmosOptions
public static class CosmosOptions.CosmosClientBuilderFactory
extends Object
implements DefaultValueFactory<com.azure.cosmos.CosmosClientBuilder>
Create a cosmos client from the pipeline options.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncom.azure.cosmos.CosmosClientBuildercreate(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory. 
- 
Constructor Details
- 
CosmosClientBuilderFactory
public CosmosClientBuilderFactory() 
 - 
 - 
Method Details
- 
create
Description copied from interface:DefaultValueFactoryCreates a default value for a getter marked withDefault.InstanceFactory.- Specified by:
 createin interfaceDefaultValueFactory<com.azure.cosmos.CosmosClientBuilder>- Parameters:
 options- The current pipeline options.- Returns:
 - The default value to be used for the annotated getter.
 
 
 -