PortProps.Builder, PortProps.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 |
getFromPort()
The starting port for the range.
|
Protocol |
getProtocol()
The protocol for the range.
|
java.lang.String |
getStringRepresentation()
String representation for this object.
|
java.lang.Number |
getToPort()
The ending port for the range.
|
int |
hashCode() |
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final Protocol getProtocol()
PortProps
getProtocol
in interface PortProps
public final java.lang.String getStringRepresentation()
PortProps
getStringRepresentation
in interface PortProps
public final java.lang.Number getFromPort()
PortProps
Default: - Not included in the rule
getFromPort
in interface PortProps
public final java.lang.Number getToPort()
PortProps
Default: - Not included in the rule
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()