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, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSet, setObjRef
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
getFromPort
in interface PortProps
public Number getToPort()
PortProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2019. All rights reserved.