@Stability(value=Experimental) public static final class Ec2Instance.Builder extends Object implements software.amazon.jsii.Builder<Ec2Instance>
Ec2Instance| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Ec2Instance |
build()
Builds the configured instance.
|
Ec2Instance.Builder |
instanceId(String instanceId)
Sets the value of
Ec2Instance.getInstanceId() |
@Stability(value=Experimental) public Ec2Instance.Builder instanceId(String instanceId)
Ec2Instance.getInstanceId()instanceId - The id of the instance resource. This parameter is required.this@Stability(value=Experimental) public Ec2Instance build()
build in interface software.amazon.jsii.Builder<Ec2Instance>Ec2InstanceNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.