Class CfnRobotApplicationVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.robomaker.CfnRobotApplicationVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRobotApplicationVersionMixinProps>
- Enclosing interface:
CfnRobotApplicationVersionMixinProps
@Stability(Stable)
public static final class CfnRobotApplicationVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRobotApplicationVersionMixinProps>
A builder for
CfnRobotApplicationVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(String application) Sets the value ofCfnRobotApplicationVersionMixinProps.getApplication()application(IRobotApplicationRef application) Sets the value ofCfnRobotApplicationVersionMixinProps.getApplication()build()Builds the configured instance.currentRevisionId(String currentRevisionId) Sets the value ofCfnRobotApplicationVersionMixinProps.getCurrentRevisionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
application
@Stability(Stable) public CfnRobotApplicationVersionMixinProps.Builder application(String application) Sets the value ofCfnRobotApplicationVersionMixinProps.getApplication()- Parameters:
application- The application information for the robot application.- Returns:
this
-
application
@Stability(Stable) public CfnRobotApplicationVersionMixinProps.Builder application(IRobotApplicationRef application) Sets the value ofCfnRobotApplicationVersionMixinProps.getApplication()- Parameters:
application- The application information for the robot application.- Returns:
this
-
currentRevisionId
@Stability(Stable) public CfnRobotApplicationVersionMixinProps.Builder currentRevisionId(String currentRevisionId) Sets the value ofCfnRobotApplicationVersionMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnRobotApplicationVersionMixinProps>- Returns:
- a new instance of
CfnRobotApplicationVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-