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