@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:52.569Z")
public interface AclPortRange
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; AclPortRange aclPortRange = AclPortRange.builder() .from(123) .to(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
AclPortRange.Builder
A builder for
AclPortRange |
static class |
AclPortRange.Jsii$Proxy
An implementation for
AclPortRange |
Modifier and Type | Method and Description |
---|---|
static AclPortRange.Builder |
builder() |
default java.lang.Number |
getFrom()
The first port in the range.
|
default java.lang.Number |
getTo()
The last port in the range.
|
default java.lang.Number getFrom()
Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.
default java.lang.Number getTo()
Required if you specify 6 (TCP) or 17 (UDP) for the protocol parameter.
static AclPortRange.Builder builder()
AclPortRange.Builder
of AclPortRange