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