Interface CfnNetworkInsightsAnalysis.PortRangeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnNetworkInsightsAnalysis.PortRangeProperty.Jsii$Proxy
- Enclosing class:
- CfnNetworkInsightsAnalysis
@Stability(Stable)
public static interface CfnNetworkInsightsAnalysis.PortRangeProperty
extends software.amazon.jsii.JsiiSerializable
Describes a range of ports.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnNetworkInsightsAnalysis.PortRangePropertystatic final classAn implementation forCfnNetworkInsightsAnalysis.PortRangeProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFrom
The first port in the range. -
getTo
The last port in the range. -
builder
-