Interface PortRange
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PortRange.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:12:58.896Z")
@Stability(Stable)
public interface PortRange
extends software.amazon.jsii.JsiiSerializable
The list of port ranges for the connections from clients to the accelerator.
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.globalaccelerator.*; PortRange portRange = PortRange.builder() .fromPort(123) // the properties below are optional .toPort(123) .build();
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PortRange.Builder
builder()
The first port in the range of ports, inclusive.default Number
The last port in the range of ports, inclusive.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFromPort
The first port in the range of ports, inclusive. -
getToPort
The last port in the range of ports, inclusive.Default: - same as `fromPort`
-
builder
- Returns:
- a
PortRange.Builder
ofPortRange
-