@Stability(value=Experimental) public static final class Ec2EnvironmentProps.Builder extends Object implements software.amazon.jsii.Builder<Ec2EnvironmentProps>
Ec2EnvironmentProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public Ec2EnvironmentProps.Builder vpc(IVpc vpc)
Ec2EnvironmentProps.getVpc()vpc - The VPC that AWS Cloud9 will use to communicate with the Amazon Elastic Compute Cloud (Amazon EC2) instance. This parameter is required.this@Stability(value=Experimental) public Ec2EnvironmentProps.Builder clonedRepositories(List<? extends CloneRepository> clonedRepositories)
Ec2EnvironmentProps.getClonedRepositories()clonedRepositories - The AWS CodeCommit repository to be cloned.this@Stability(value=Experimental) public Ec2EnvironmentProps.Builder connectionType(ConnectionType connectionType)
Ec2EnvironmentProps.getConnectionType()connectionType - The connection type used for connecting to an Amazon EC2 environment.
Valid values are: CONNECT_SSH (default) and CONNECT_SSM (connected through AWS Systems Manager)this@Stability(value=Experimental) public Ec2EnvironmentProps.Builder description(String description)
Ec2EnvironmentProps.getDescription()description - Description of the environment.this@Stability(value=Experimental) public Ec2EnvironmentProps.Builder ec2EnvironmentName(String ec2EnvironmentName)
Ec2EnvironmentProps.getEc2EnvironmentName()ec2EnvironmentName - Name of the environment.this@Stability(value=Experimental) public Ec2EnvironmentProps.Builder instanceType(InstanceType instanceType)
Ec2EnvironmentProps.getInstanceType()instanceType - The type of instance to connect to the environment.this@Stability(value=Experimental) public Ec2EnvironmentProps.Builder subnetSelection(SubnetSelection subnetSelection)
Ec2EnvironmentProps.getSubnetSelection()subnetSelection - The subnetSelection of the VPC that AWS Cloud9 will use to communicate with the Amazon EC2 instance.this@Stability(value=Experimental) public Ec2EnvironmentProps build()
build in interface software.amazon.jsii.Builder<Ec2EnvironmentProps>Ec2EnvironmentPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.