Class CfnCrawler.MongoDBTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnCrawler.MongoDBTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCrawler.MongoDBTargetProperty>
- Enclosing interface:
CfnCrawler.MongoDBTargetProperty
@Stability(Stable)
public static final class CfnCrawler.MongoDBTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCrawler.MongoDBTargetProperty>
A builder for
CfnCrawler.MongoDBTargetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionName(String connectionName) Sets the value ofCfnCrawler.MongoDBTargetProperty.getConnectionName()Sets the value ofCfnCrawler.MongoDBTargetProperty.getPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionName
@Stability(Stable) public CfnCrawler.MongoDBTargetProperty.Builder connectionName(String connectionName) Sets the value ofCfnCrawler.MongoDBTargetProperty.getConnectionName()- Parameters:
connectionName- The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.- Returns:
this
-
path
Sets the value ofCfnCrawler.MongoDBTargetProperty.getPath()- Parameters:
path- The path of the Amazon DocumentDB or MongoDB target (database/collection).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCrawler.MongoDBTargetProperty>- Returns:
- a new instance of
CfnCrawler.MongoDBTargetProperty - Throws:
NullPointerException- if any required attribute was not provided
-