@Stability(value=Stable)
public static interface CfnVirtualGateway.VirtualGatewayPortMappingProperty
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.appmesh.*;
VirtualGatewayPortMappingProperty virtualGatewayPortMappingProperty = VirtualGatewayPortMappingProperty.builder()
.port(123)
.protocol("protocol")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVirtualGateway.VirtualGatewayPortMappingProperty.Builder
A builder for
CfnVirtualGateway.VirtualGatewayPortMappingProperty |
static class |
CfnVirtualGateway.VirtualGatewayPortMappingProperty.Jsii$Proxy
An implementation for
CfnVirtualGateway.VirtualGatewayPortMappingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnVirtualGateway.VirtualGatewayPortMappingProperty.Builder |
builder() |
Number |
getPort()
The port used for the port mapping.
|
String |
getProtocol()
The protocol used for the port mapping.
|
@Stability(value=Stable) @NotNull Number getPort()
Specify one protocol.
@Stability(value=Stable) @NotNull String getProtocol()
@Stability(value=Stable) static CfnVirtualGateway.VirtualGatewayPortMappingProperty.Builder builder()
Copyright © 2022. All rights reserved.