Class CfnSimulationApplication.SourceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.robomaker.CfnSimulationApplication.SourceConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSimulationApplication.SourceConfigProperty>
- Enclosing interface:
CfnSimulationApplication.SourceConfigProperty
@Stability(Stable)
public static final class CfnSimulationApplication.SourceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSimulationApplication.SourceConfigProperty>
A builder for
CfnSimulationApplication.SourceConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionarchitecture
(String architecture) Sets the value ofCfnSimulationApplication.SourceConfigProperty.getArchitecture()
build()
Builds the configured instance.Sets the value ofCfnSimulationApplication.SourceConfigProperty.getS3Bucket()
Sets the value ofCfnSimulationApplication.SourceConfigProperty.getS3Key()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
architecture
@Stability(Stable) public CfnSimulationApplication.SourceConfigProperty.Builder architecture(String architecture) Sets the value ofCfnSimulationApplication.SourceConfigProperty.getArchitecture()
- Parameters:
architecture
- The target processor architecture for the application. This parameter is required.- Returns:
this
-
s3Bucket
@Stability(Stable) public CfnSimulationApplication.SourceConfigProperty.Builder s3Bucket(String s3Bucket) Sets the value ofCfnSimulationApplication.SourceConfigProperty.getS3Bucket()
- Parameters:
s3Bucket
- The Amazon S3 bucket name. This parameter is required.- Returns:
this
-
s3Key
Sets the value ofCfnSimulationApplication.SourceConfigProperty.getS3Key()
- Parameters:
s3Key
- The s3 object key. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSimulationApplication.SourceConfigProperty>
- Returns:
- a new instance of
CfnSimulationApplication.SourceConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-