public static final class CfnVirtualNode.PortMappingProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnVirtualNode.PortMappingProperty
CfnVirtualNode.PortMappingProperty
CfnVirtualNode.PortMappingProperty.Builder, CfnVirtualNode.PortMappingProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Number |
getPort()
The port used for the port mapping.
|
java.lang.String |
getProtocol()
The protocol used for the port mapping.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Number getPort()
CfnVirtualNode.PortMappingProperty
getPort
in interface CfnVirtualNode.PortMappingProperty
public final java.lang.String getProtocol()
CfnVirtualNode.PortMappingProperty
Specify http
, http2
, grpc
, or tcp
.
getProtocol
in interface CfnVirtualNode.PortMappingProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()