software.amazon.jsii.JsiiObject.InitializationModePortProps.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.
|
protected |
Jsii$Proxy(PortProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
PortProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getFromPort()
The starting port for the range.
|
Protocol |
getProtocol()
The protocol for the range.
|
String |
getStringRepresentation()
String representation for this object.
|
Number |
getToPort()
The ending port for the range.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(PortProps.Builder builder)
PortProps.Builder.public final Protocol getProtocol()
PortPropsgetProtocol in interface PortPropspublic final String getStringRepresentation()
PortPropsgetStringRepresentation in interface PortPropspublic final Number getFromPort()
PortPropsDefault: - Not included in the rule
getFromPort in interface PortPropspublic final Number getToPort()
PortPropsDefault: - Not included in the rule
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.