Class CfnTestCaseProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.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.Sets the value ofCfnTestCaseProps.getContent()description(String description) Sets the value ofCfnTestCaseProps.getDescription()entryPoint(IResolvable entryPoint) Sets the value ofCfnTestCaseProps.getEntryPoint()entryPoint(CfnTestCase.EntryPointProperty entryPoint) Sets the value ofCfnTestCaseProps.getEntryPoint()initializationData(String initializationData) Sets the value ofCfnTestCaseProps.getInitializationData()instanceArn(String instanceArn) Sets the value ofCfnTestCaseProps.getInstanceArn()Sets the value ofCfnTestCaseProps.getName()Sets the value ofCfnTestCaseProps.getStatus()Sets the value ofCfnTestCaseProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
Sets the value ofCfnTestCaseProps.getContent()- Parameters:
content- The content of the test case. This parameter is required.- Returns:
this
-
instanceArn
Sets the value ofCfnTestCaseProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnTestCaseProps.getName()- Parameters:
name- The name of 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
-
entryPoint
Sets the value ofCfnTestCaseProps.getEntryPoint()- Parameters:
entryPoint- The Entry Point associated with the test case.- Returns:
this
-
entryPoint
@Stability(Stable) public CfnTestCaseProps.Builder entryPoint(CfnTestCase.EntryPointProperty entryPoint) Sets the value ofCfnTestCaseProps.getEntryPoint()- Parameters:
entryPoint- The Entry Point associated with the test case.- Returns:
this
-
initializationData
Sets the value ofCfnTestCaseProps.getInitializationData()- Parameters:
initializationData- The initialization data of the test case.- Returns:
this
-
status
Sets the value ofCfnTestCaseProps.getStatus()- Parameters:
status- The status of the test case.- Returns:
this
-
tags
Sets the value ofCfnTestCaseProps.getTags()- Parameters:
tags- One or more tags.- 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
-