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