@Stability(value=Stable) public static final class CfnInstance.NetworkingProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstance.NetworkingProperty>
CfnInstance.NetworkingProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnInstance.NetworkingProperty |
build()
Builds the configured instance.
|
CfnInstance.NetworkingProperty.Builder |
monthlyTransfer(Number monthlyTransfer)
Sets the value of
CfnInstance.NetworkingProperty.getMonthlyTransfer() |
CfnInstance.NetworkingProperty.Builder |
ports(IResolvable ports)
Sets the value of
CfnInstance.NetworkingProperty.getPorts() |
CfnInstance.NetworkingProperty.Builder |
ports(List<? extends Object> ports)
Sets the value of
CfnInstance.NetworkingProperty.getPorts() |
@Stability(value=Stable) public CfnInstance.NetworkingProperty.Builder ports(IResolvable ports)
CfnInstance.NetworkingProperty.getPorts()
ports
- An array of ports to open on the instance. This parameter is required.this
@Stability(value=Stable) public CfnInstance.NetworkingProperty.Builder ports(List<? extends Object> ports)
CfnInstance.NetworkingProperty.getPorts()
ports
- An array of ports to open on the instance. This parameter is required.this
@Stability(value=Stable) public CfnInstance.NetworkingProperty.Builder monthlyTransfer(Number monthlyTransfer)
CfnInstance.NetworkingProperty.getMonthlyTransfer()
monthlyTransfer
- The monthly amount of data transfer, in GB, allocated for the instance.this
@Stability(value=Stable) public CfnInstance.NetworkingProperty build()
build
in interface software.amazon.jsii.Builder<CfnInstance.NetworkingProperty>
CfnInstance.NetworkingProperty
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.