Class CfnTestCase.StepActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apptest.CfnTestCase.StepActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTestCase.StepActionProperty>
- Enclosing interface:
CfnTestCase.StepActionProperty
@Stability(Stable)
public static final class CfnTestCase.StepActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTestCase.StepActionProperty>
A builder for
CfnTestCase.StepActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.compareAction(IResolvable compareAction) Sets the value ofCfnTestCase.StepActionProperty.getCompareAction()compareAction(CfnTestCase.CompareActionProperty compareAction) Sets the value ofCfnTestCase.StepActionProperty.getCompareAction()mainframeAction(IResolvable mainframeAction) Sets the value ofCfnTestCase.StepActionProperty.getMainframeAction()mainframeAction(CfnTestCase.MainframeActionProperty mainframeAction) Sets the value ofCfnTestCase.StepActionProperty.getMainframeAction()resourceAction(IResolvable resourceAction) Sets the value ofCfnTestCase.StepActionProperty.getResourceAction()resourceAction(CfnTestCase.ResourceActionProperty resourceAction) Sets the value ofCfnTestCase.StepActionProperty.getResourceAction()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
compareAction
@Stability(Stable) public CfnTestCase.StepActionProperty.Builder compareAction(IResolvable compareAction) Sets the value ofCfnTestCase.StepActionProperty.getCompareAction()- Parameters:
compareAction- The compare action of the step action.- Returns:
this
-
compareAction
@Stability(Stable) public CfnTestCase.StepActionProperty.Builder compareAction(CfnTestCase.CompareActionProperty compareAction) Sets the value ofCfnTestCase.StepActionProperty.getCompareAction()- Parameters:
compareAction- The compare action of the step action.- Returns:
this
-
mainframeAction
@Stability(Stable) public CfnTestCase.StepActionProperty.Builder mainframeAction(IResolvable mainframeAction) Sets the value ofCfnTestCase.StepActionProperty.getMainframeAction()- Parameters:
mainframeAction- The mainframe action of the step action.- Returns:
this
-
mainframeAction
@Stability(Stable) public CfnTestCase.StepActionProperty.Builder mainframeAction(CfnTestCase.MainframeActionProperty mainframeAction) Sets the value ofCfnTestCase.StepActionProperty.getMainframeAction()- Parameters:
mainframeAction- The mainframe action of the step action.- Returns:
this
-
resourceAction
@Stability(Stable) public CfnTestCase.StepActionProperty.Builder resourceAction(IResolvable resourceAction) Sets the value ofCfnTestCase.StepActionProperty.getResourceAction()- Parameters:
resourceAction- The resource action of the step action.- Returns:
this
-
resourceAction
@Stability(Stable) public CfnTestCase.StepActionProperty.Builder resourceAction(CfnTestCase.ResourceActionProperty resourceAction) Sets the value ofCfnTestCase.StepActionProperty.getResourceAction()- Parameters:
resourceAction- The resource action of the step action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTestCase.StepActionProperty>- Returns:
- a new instance of
CfnTestCase.StepActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-