Class CfnTestCase.SourceDatabaseMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apptest.CfnTestCase.SourceDatabaseMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTestCase.SourceDatabaseMetadataProperty>
- Enclosing interface:
CfnTestCase.SourceDatabaseMetadataProperty
@Stability(Stable)
public static final class CfnTestCase.SourceDatabaseMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTestCase.SourceDatabaseMetadataProperty>
A builder for
CfnTestCase.SourceDatabaseMetadataProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.captureTool
(String captureTool) Sets the value ofCfnTestCase.SourceDatabaseMetadataProperty.getCaptureTool()
Sets the value ofCfnTestCase.SourceDatabaseMetadataProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
captureTool
@Stability(Stable) public CfnTestCase.SourceDatabaseMetadataProperty.Builder captureTool(String captureTool) Sets the value ofCfnTestCase.SourceDatabaseMetadataProperty.getCaptureTool()
- Parameters:
captureTool
- The capture tool of the source database metadata. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnTestCase.SourceDatabaseMetadataProperty.getType()
- Parameters:
type
- The type of the source database metadata. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTestCase.SourceDatabaseMetadataProperty>
- Returns:
- a new instance of
CfnTestCase.SourceDatabaseMetadataProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-