Class CfnRobotApplicationVersion.Builder
java.lang.Object
software.amazon.awscdk.services.robomaker.CfnRobotApplicationVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRobotApplicationVersion>
- Enclosing class:
CfnRobotApplicationVersion
@Stability(Stable)
public static final class CfnRobotApplicationVersion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRobotApplicationVersion>
A fluent builder for
CfnRobotApplicationVersion
.-
Method Summary
Modifier and TypeMethodDescriptionapplication
(String application) The application information for the robot application.build()
currentRevisionId
(String currentRevisionId) The current revision id for the robot application.
-
Method Details
-
create
@Stability(Stable) public static CfnRobotApplicationVersion.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnRobotApplicationVersion.Builder
.
-
application
The application information for the robot application.- Parameters:
application
- The application information for the robot application. This parameter is required.- Returns:
this
-
currentRevisionId
@Stability(Stable) public CfnRobotApplicationVersion.Builder currentRevisionId(String 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.
- Parameters:
currentRevisionId
- The current revision id for the robot application. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRobotApplicationVersion>
- Returns:
- a newly built instance of
CfnRobotApplicationVersion
.
-