Class CfnTestCase.StepProperty.Builder
java.lang.Object
software.amazon.awscdk.services.apptest.CfnTestCase.StepProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTestCase.StepProperty>
- Enclosing interface:
CfnTestCase.StepProperty
@Stability(Stable)
public static final class CfnTestCase.StepProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTestCase.StepProperty>
A builder for
CfnTestCase.StepProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaction(IResolvable action) Sets the value ofCfnTestCase.StepProperty.getAction()action(CfnTestCase.StepActionProperty action) Sets the value ofCfnTestCase.StepProperty.getAction()build()Builds the configured instance.description(String description) Sets the value ofCfnTestCase.StepProperty.getDescription()Sets the value ofCfnTestCase.StepProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnTestCase.StepProperty.getAction()- Parameters:
action- The action of the step. This parameter is required.- Returns:
this
-
action
@Stability(Stable) public CfnTestCase.StepProperty.Builder action(CfnTestCase.StepActionProperty action) Sets the value ofCfnTestCase.StepProperty.getAction()- Parameters:
action- The action of the step. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnTestCase.StepProperty.getName()- Parameters:
name- The name of the step. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnTestCase.StepProperty.getDescription()- Parameters:
description- The description of the step.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTestCase.StepProperty>- Returns:
- a new instance of
CfnTestCase.StepProperty - Throws:
NullPointerException- if any required attribute was not provided
-