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