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