software.amazon.jsii.JsiiObject.InitializationMode
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(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
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public Protocol getProtocol()
PortProps
getProtocol
in interface PortProps
public String getStringRepresentation()
PortProps
getStringRepresentation
in interface PortProps
public Number getFromPort()
PortProps
Default: - Not included in the rule
getFromPort
in interface PortProps
public Number getToPort()
PortProps
Default: - Not included in the rule
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2020. All rights reserved.