Class CfnRobotApplicationVersionProps.Builder
java.lang.Object
software.amazon.awscdk.services.robomaker.CfnRobotApplicationVersionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRobotApplicationVersionProps>
- Enclosing interface:
- CfnRobotApplicationVersionProps
@Stability(Stable)
public static final class CfnRobotApplicationVersionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRobotApplicationVersionProps>
A builder for
CfnRobotApplicationVersionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplication
(String application) Sets the value ofCfnRobotApplicationVersionProps.getApplication()
build()
Builds the configured instance.currentRevisionId
(String currentRevisionId) Sets the value ofCfnRobotApplicationVersionProps.getCurrentRevisionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
application
Sets the value ofCfnRobotApplicationVersionProps.getApplication()
- Parameters:
application
- The application information for the robot application. This parameter is required.- Returns:
this
-
currentRevisionId
@Stability(Stable) public CfnRobotApplicationVersionProps.Builder currentRevisionId(String currentRevisionId) Sets the value ofCfnRobotApplicationVersionProps.getCurrentRevisionId()
- Parameters:
currentRevisionId
- The current revision id for the robot application. If you provide a value and it matches the latest revision ID, a new version will be created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRobotApplicationVersionProps>
- Returns:
- a new instance of
CfnRobotApplicationVersionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-