@Stability(value=Experimental) public static final class Ec2EnvironmentProps.Builder extends Object implements software.amazon.jsii.Builder<Ec2EnvironmentProps>
Ec2EnvironmentProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Ec2EnvironmentProps |
build()
Builds the configured instance.
|
Ec2EnvironmentProps.Builder |
clonedRepositories(List<CloneRepository> clonedRepositories)
Sets the value of
Ec2EnvironmentProps.getClonedRepositories() |
Ec2EnvironmentProps.Builder |
description(String description)
Sets the value of
Ec2EnvironmentProps.getDescription() |
Ec2EnvironmentProps.Builder |
ec2EnvironmentName(String ec2EnvironmentName)
Sets the value of
Ec2EnvironmentProps.getEc2EnvironmentName() |
Ec2EnvironmentProps.Builder |
instanceType(InstanceType instanceType)
Sets the value of
Ec2EnvironmentProps.getInstanceType() |
Ec2EnvironmentProps.Builder |
subnetSelection(SubnetSelection subnetSelection)
Sets the value of
Ec2EnvironmentProps.getSubnetSelection() |
Ec2EnvironmentProps.Builder |
vpc(IVpc vpc)
Sets the value of
Ec2EnvironmentProps.getVpc() |
@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<CloneRepository> clonedRepositories)
Ec2EnvironmentProps.getClonedRepositories()clonedRepositories - The AWS CodeCommit repository to be cloned.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 © 2020. All rights reserved.