@Stability(value=Stable)
public static interface CfnNetworkInsightsAnalysis.PortRangeProperty
extends software.amazon.jsii.JsiiSerializable
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 Number |
getFrom()
The first port in the range.
|
default Number |
getTo()
The last port in the range.
|
@Stability(value=Stable) @Nullable default Number getFrom()
@Stability(value=Stable) @Nullable default Number getTo()
@Stability(value=Stable) static CfnNetworkInsightsAnalysis.PortRangeProperty.Builder builder()
Copyright © 2022. All rights reserved.