Interface CfnVirtualGateway.VirtualGatewayPortMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualGateway.VirtualGatewayPortMappingProperty.Jsii$Proxy
- Enclosing class:
- CfnVirtualGateway
@Stability(Stable)
public static interface CfnVirtualGateway.VirtualGatewayPortMappingProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents a port mapping.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualGateway.VirtualGatewayPortMappingPropertystatic final classAn implementation forCfnVirtualGateway.VirtualGatewayPortMappingProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPort
The port used for the port mapping.Specify one protocol.
-
getProtocol
The protocol used for the port mapping. -
builder
-