@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SimulationAppPortMapping extends Object implements Serializable, Cloneable, StructuredPojo
A collection of TCP/UDP ports for a custom or service app.
Constructor and Description |
---|
SimulationAppPortMapping() |
Modifier and Type | Method and Description |
---|---|
SimulationAppPortMapping |
clone() |
boolean |
equals(Object obj) |
Integer |
getActual()
The TCP/UDP port number of the running app.
|
Integer |
getDeclared()
The TCP/UDP port number of the app, declared in the simulation schema.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActual(Integer actual)
The TCP/UDP port number of the running app.
|
void |
setDeclared(Integer declared)
The TCP/UDP port number of the app, declared in the simulation schema.
|
String |
toString()
Returns a string representation of this object.
|
SimulationAppPortMapping |
withActual(Integer actual)
The TCP/UDP port number of the running app.
|
SimulationAppPortMapping |
withDeclared(Integer declared)
The TCP/UDP port number of the app, declared in the simulation schema.
|
public void setActual(Integer actual)
The TCP/UDP port number of the running app. SimSpace Weaver dynamically assigns this port number when the app
starts. SimSpace Weaver maps the Declared
port to the Actual
port. Clients connect to
the app using the app's IP address and the Actual
port number.
actual
- The TCP/UDP port number of the running app. SimSpace Weaver dynamically assigns this port number when the
app starts. SimSpace Weaver maps the Declared
port to the Actual
port. Clients
connect to the app using the app's IP address and the Actual
port number.public Integer getActual()
The TCP/UDP port number of the running app. SimSpace Weaver dynamically assigns this port number when the app
starts. SimSpace Weaver maps the Declared
port to the Actual
port. Clients connect to
the app using the app's IP address and the Actual
port number.
Declared
port to the Actual
port. Clients
connect to the app using the app's IP address and the Actual
port number.public SimulationAppPortMapping withActual(Integer actual)
The TCP/UDP port number of the running app. SimSpace Weaver dynamically assigns this port number when the app
starts. SimSpace Weaver maps the Declared
port to the Actual
port. Clients connect to
the app using the app's IP address and the Actual
port number.
actual
- The TCP/UDP port number of the running app. SimSpace Weaver dynamically assigns this port number when the
app starts. SimSpace Weaver maps the Declared
port to the Actual
port. Clients
connect to the app using the app's IP address and the Actual
port number.public void setDeclared(Integer declared)
The TCP/UDP port number of the app, declared in the simulation schema. SimSpace Weaver maps the
Declared
port to the Actual
port. The source code for the app should bind to the
Declared
port.
declared
- The TCP/UDP port number of the app, declared in the simulation schema. SimSpace Weaver maps the
Declared
port to the Actual
port. The source code for the app should bind to the
Declared
port.public Integer getDeclared()
The TCP/UDP port number of the app, declared in the simulation schema. SimSpace Weaver maps the
Declared
port to the Actual
port. The source code for the app should bind to the
Declared
port.
Declared
port to the Actual
port. The source code for the app should bind to
the Declared
port.public SimulationAppPortMapping withDeclared(Integer declared)
The TCP/UDP port number of the app, declared in the simulation schema. SimSpace Weaver maps the
Declared
port to the Actual
port. The source code for the app should bind to the
Declared
port.
declared
- The TCP/UDP port number of the app, declared in the simulation schema. SimSpace Weaver maps the
Declared
port to the Actual
port. The source code for the app should bind to the
Declared
port.public String toString()
toString
in class Object
Object.toString()
public SimulationAppPortMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.