public static interface CfnNetworkInsightsAnalysis.PortRangeProperty
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.*; PortRangeProperty portRangeProperty = PortRangeProperty.builder() .from(123) .to(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnNetworkInsightsAnalysis.PortRangeProperty.Builder
A builder for
CfnNetworkInsightsAnalysis.PortRangeProperty |
static class |
CfnNetworkInsightsAnalysis.PortRangeProperty.Jsii$Proxy
An implementation for
CfnNetworkInsightsAnalysis.PortRangeProperty |
Modifier and Type | Method and Description |
---|---|
static CfnNetworkInsightsAnalysis.PortRangeProperty.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()
default java.lang.Number getTo()
static CfnNetworkInsightsAnalysis.PortRangeProperty.Builder builder()