@Stability(value=Stable)
public static interface CfnVirtualNode.PortMappingProperty
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.*;
PortMappingProperty portMappingProperty = PortMappingProperty.builder()
.port(123)
.protocol("protocol")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVirtualNode.PortMappingProperty.Builder
A builder for
CfnVirtualNode.PortMappingProperty |
static class |
CfnVirtualNode.PortMappingProperty.Jsii$Proxy
An implementation for
CfnVirtualNode.PortMappingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnVirtualNode.PortMappingProperty.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()
@Stability(value=Stable) @NotNull String getProtocol()
Specify http , http2 , grpc , or tcp .
@Stability(value=Stable) static CfnVirtualNode.PortMappingProperty.Builder builder()
Copyright © 2022. All rights reserved.