Class CfnCrawler.TargetsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnCrawler.TargetsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCrawler.TargetsProperty>
- Enclosing interface:
CfnCrawler.TargetsProperty
@Stability(Stable)
public static final class CfnCrawler.TargetsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCrawler.TargetsProperty>
A builder for
CfnCrawler.TargetsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.catalogTargets
(List<? extends Object> catalogTargets) Sets the value ofCfnCrawler.TargetsProperty.getCatalogTargets()
catalogTargets
(IResolvable catalogTargets) Sets the value ofCfnCrawler.TargetsProperty.getCatalogTargets()
deltaTargets
(List<? extends Object> deltaTargets) Sets the value ofCfnCrawler.TargetsProperty.getDeltaTargets()
deltaTargets
(IResolvable deltaTargets) Sets the value ofCfnCrawler.TargetsProperty.getDeltaTargets()
dynamoDbTargets
(List<? extends Object> dynamoDbTargets) Sets the value ofCfnCrawler.TargetsProperty.getDynamoDbTargets()
dynamoDbTargets
(IResolvable dynamoDbTargets) Sets the value ofCfnCrawler.TargetsProperty.getDynamoDbTargets()
jdbcTargets
(List<? extends Object> jdbcTargets) Sets the value ofCfnCrawler.TargetsProperty.getJdbcTargets()
jdbcTargets
(IResolvable jdbcTargets) Sets the value ofCfnCrawler.TargetsProperty.getJdbcTargets()
mongoDbTargets
(List<? extends Object> mongoDbTargets) Sets the value ofCfnCrawler.TargetsProperty.getMongoDbTargets()
mongoDbTargets
(IResolvable mongoDbTargets) Sets the value ofCfnCrawler.TargetsProperty.getMongoDbTargets()
Sets the value ofCfnCrawler.TargetsProperty.getS3Targets()
s3Targets
(IResolvable s3Targets) Sets the value ofCfnCrawler.TargetsProperty.getS3Targets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalogTargets
@Stability(Stable) public CfnCrawler.TargetsProperty.Builder catalogTargets(IResolvable catalogTargets) Sets the value ofCfnCrawler.TargetsProperty.getCatalogTargets()
- Parameters:
catalogTargets
- Specifies AWS Glue Data Catalog targets.- Returns:
this
-
catalogTargets
@Stability(Stable) public CfnCrawler.TargetsProperty.Builder catalogTargets(List<? extends Object> catalogTargets) Sets the value ofCfnCrawler.TargetsProperty.getCatalogTargets()
- Parameters:
catalogTargets
- Specifies AWS Glue Data Catalog targets.- Returns:
this
-
deltaTargets
Sets the value ofCfnCrawler.TargetsProperty.getDeltaTargets()
- Parameters:
deltaTargets
-CfnCrawler.TargetsProperty.DeltaTargets
.- Returns:
this
-
deltaTargets
@Stability(Stable) public CfnCrawler.TargetsProperty.Builder deltaTargets(List<? extends Object> deltaTargets) Sets the value ofCfnCrawler.TargetsProperty.getDeltaTargets()
- Parameters:
deltaTargets
-CfnCrawler.TargetsProperty.DeltaTargets
.- Returns:
this
-
dynamoDbTargets
@Stability(Stable) public CfnCrawler.TargetsProperty.Builder dynamoDbTargets(IResolvable dynamoDbTargets) Sets the value ofCfnCrawler.TargetsProperty.getDynamoDbTargets()
- Parameters:
dynamoDbTargets
- Specifies Amazon DynamoDB targets.- Returns:
this
-
dynamoDbTargets
@Stability(Stable) public CfnCrawler.TargetsProperty.Builder dynamoDbTargets(List<? extends Object> dynamoDbTargets) Sets the value ofCfnCrawler.TargetsProperty.getDynamoDbTargets()
- Parameters:
dynamoDbTargets
- Specifies Amazon DynamoDB targets.- Returns:
this
-
jdbcTargets
Sets the value ofCfnCrawler.TargetsProperty.getJdbcTargets()
- Parameters:
jdbcTargets
- Specifies JDBC targets.- Returns:
this
-
jdbcTargets
@Stability(Stable) public CfnCrawler.TargetsProperty.Builder jdbcTargets(List<? extends Object> jdbcTargets) Sets the value ofCfnCrawler.TargetsProperty.getJdbcTargets()
- Parameters:
jdbcTargets
- Specifies JDBC targets.- Returns:
this
-
mongoDbTargets
@Stability(Stable) public CfnCrawler.TargetsProperty.Builder mongoDbTargets(IResolvable mongoDbTargets) Sets the value ofCfnCrawler.TargetsProperty.getMongoDbTargets()
- Parameters:
mongoDbTargets
- A list of Mongo DB targets.- Returns:
this
-
mongoDbTargets
@Stability(Stable) public CfnCrawler.TargetsProperty.Builder mongoDbTargets(List<? extends Object> mongoDbTargets) Sets the value ofCfnCrawler.TargetsProperty.getMongoDbTargets()
- Parameters:
mongoDbTargets
- A list of Mongo DB targets.- Returns:
this
-
s3Targets
Sets the value ofCfnCrawler.TargetsProperty.getS3Targets()
- Parameters:
s3Targets
- Specifies Amazon Simple Storage Service (Amazon S3) targets.- Returns:
this
-
s3Targets
@Stability(Stable) public CfnCrawler.TargetsProperty.Builder s3Targets(List<? extends Object> s3Targets) Sets the value ofCfnCrawler.TargetsProperty.getS3Targets()
- Parameters:
s3Targets
- Specifies Amazon Simple Storage Service (Amazon S3) targets.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCrawler.TargetsProperty>
- Returns:
- a new instance of
CfnCrawler.TargetsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-