@Stability(value=Stable)
public static interface CfnListener.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.globalaccelerator.*;
PortRangeProperty portRangeProperty = PortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnListener.PortRangeProperty.Builder
A builder for
CfnListener.PortRangeProperty |
static class |
CfnListener.PortRangeProperty.Jsii$Proxy
An implementation for
CfnListener.PortRangeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnListener.PortRangeProperty.Builder |
builder() |
Number |
getFromPort()
The first port in the range of ports, inclusive.
|
Number |
getToPort()
The last port in the range of ports, inclusive.
|
@Stability(value=Stable) @NotNull Number getFromPort()
@Stability(value=Stable) @NotNull Number getToPort()
@Stability(value=Stable) static CfnListener.PortRangeProperty.Builder builder()
Copyright © 2022. All rights reserved.