Class CfnRobotApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.robomaker.CfnRobotApplicationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRobotApplicationProps>
- Enclosing interface:
CfnRobotApplicationProps
@Stability(Stable)
public static final class CfnRobotApplicationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRobotApplicationProps>
A builder for
CfnRobotApplicationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.currentRevisionId
(String currentRevisionId) Sets the value ofCfnRobotApplicationProps.getCurrentRevisionId()
environment
(String environment) Sets the value ofCfnRobotApplicationProps.getEnvironment()
Sets the value ofCfnRobotApplicationProps.getName()
robotSoftwareSuite
(IResolvable robotSoftwareSuite) Sets the value ofCfnRobotApplicationProps.getRobotSoftwareSuite()
robotSoftwareSuite
(CfnRobotApplication.RobotSoftwareSuiteProperty robotSoftwareSuite) Sets the value ofCfnRobotApplicationProps.getRobotSoftwareSuite()
Sets the value ofCfnRobotApplicationProps.getSources()
sources
(IResolvable sources) Sets the value ofCfnRobotApplicationProps.getSources()
Sets the value ofCfnRobotApplicationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
robotSoftwareSuite
@Stability(Stable) public CfnRobotApplicationProps.Builder robotSoftwareSuite(CfnRobotApplication.RobotSoftwareSuiteProperty robotSoftwareSuite) Sets the value ofCfnRobotApplicationProps.getRobotSoftwareSuite()
- Parameters:
robotSoftwareSuite
- The robot software suite used by the robot application. This parameter is required.- Returns:
this
-
robotSoftwareSuite
@Stability(Stable) public CfnRobotApplicationProps.Builder robotSoftwareSuite(IResolvable robotSoftwareSuite) Sets the value ofCfnRobotApplicationProps.getRobotSoftwareSuite()
- Parameters:
robotSoftwareSuite
- The robot software suite used by the robot application. This parameter is required.- Returns:
this
-
currentRevisionId
@Stability(Stable) public CfnRobotApplicationProps.Builder currentRevisionId(String currentRevisionId) Sets the value ofCfnRobotApplicationProps.getCurrentRevisionId()
- Parameters:
currentRevisionId
- The current revision id.- Returns:
this
-
environment
Sets the value ofCfnRobotApplicationProps.getEnvironment()
- Parameters:
environment
- The environment of the robot application.- Returns:
this
-
name
Sets the value ofCfnRobotApplicationProps.getName()
- Parameters:
name
- The name of the robot application.- Returns:
this
-
sources
Sets the value ofCfnRobotApplicationProps.getSources()
- Parameters:
sources
- The sources of the robot application.- Returns:
this
-
sources
Sets the value ofCfnRobotApplicationProps.getSources()
- Parameters:
sources
- The sources of the robot application.- Returns:
this
-
tags
Sets the value ofCfnRobotApplicationProps.getTags()
- Parameters:
tags
- A map that contains tag keys and tag values that are attached to the robot application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRobotApplicationProps>
- Returns:
- a new instance of
CfnRobotApplicationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-