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