public static interface CfnVirtualRouter.PortMappingProperty
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.appmesh.*; PortMappingProperty portMappingProperty = PortMappingProperty.builder() .port(123) .protocol("protocol") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnVirtualRouter.PortMappingProperty.Builder
A builder for
CfnVirtualRouter.PortMappingProperty |
static class |
CfnVirtualRouter.PortMappingProperty.Jsii$Proxy
An implementation for
CfnVirtualRouter.PortMappingProperty |
Modifier and Type | Method and Description |
---|---|
static CfnVirtualRouter.PortMappingProperty.Builder |
builder() |
java.lang.Number |
getPort()
The port used for the port mapping.
|
java.lang.String |
getProtocol()
The protocol used for the port mapping.
|
java.lang.Number getPort()
java.lang.String getProtocol()
Specify one protocol.
static CfnVirtualRouter.PortMappingProperty.Builder builder()