@Stability(value=Experimental) public static final class AclPortRange.Builder extends Object implements software.amazon.jsii.Builder<AclPortRange>
AclPortRange| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AclPortRange |
build()
Builds the configured instance.
|
AclPortRange.Builder |
from(Number from)
Sets the value of
AclPortRange.getFrom() |
AclPortRange.Builder |
to(Number to)
Sets the value of
AclPortRange.getTo() |
@Stability(value=Experimental) public AclPortRange.Builder from(Number from)
AclPortRange.getFrom()from - The first port in the range.
Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.this@Stability(value=Experimental) public AclPortRange.Builder to(Number to)
AclPortRange.getTo()to - The last port in the range.
Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.this@Stability(value=Experimental) public AclPortRange build()
build in interface software.amazon.jsii.Builder<AclPortRange>AclPortRangeNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.