Interface CfnListener.PortRangeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnListener.PortRangeProperty.Jsii$Proxy
- Enclosing class:
CfnListener
@Stability(Stable)
public static interface CfnListener.PortRangeProperty
extends software.amazon.jsii.JsiiSerializable
A complex type for a range of ports for a listener.
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.*;
PortRangeProperty portRangeProperty = PortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnListener.PortRangePropertystatic final classAn implementation forCfnListener.PortRangeProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The first port in the range of ports, inclusive.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.- See Also:
-
getToPort
The last port in the range of ports, inclusive.- See Also:
-
builder
-