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 Details

    • create

      @Stability(Stable) public static CfnRobotApplicationVersion.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnRobotApplicationVersion.Builder.
    • application

      @Stability(Stable) public CfnRobotApplicationVersion.Builder application(String 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

      @Stability(Stable) public CfnRobotApplicationVersion build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnRobotApplicationVersion>
      Returns:
      a newly built instance of CfnRobotApplicationVersion.