@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PortMapping extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a port mapping.
| Constructor and Description |
|---|
PortMapping() |
| Modifier and Type | Method and Description |
|---|---|
PortMapping |
clone() |
boolean |
equals(Object obj) |
Integer |
getApplicationPort()
The port number on the application.
|
Boolean |
getEnableOnPublicIp()
A Boolean indicating whether to enable this port mapping on public IP.
|
Integer |
getJobPort()
The port number on the simulation job instance to use as a remote connection point.
|
int |
hashCode() |
Boolean |
isEnableOnPublicIp()
A Boolean indicating whether to enable this port mapping on public IP.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setApplicationPort(Integer applicationPort)
The port number on the application.
|
void |
setEnableOnPublicIp(Boolean enableOnPublicIp)
A Boolean indicating whether to enable this port mapping on public IP.
|
void |
setJobPort(Integer jobPort)
The port number on the simulation job instance to use as a remote connection point.
|
String |
toString()
Returns a string representation of this object.
|
PortMapping |
withApplicationPort(Integer applicationPort)
The port number on the application.
|
PortMapping |
withEnableOnPublicIp(Boolean enableOnPublicIp)
A Boolean indicating whether to enable this port mapping on public IP.
|
PortMapping |
withJobPort(Integer jobPort)
The port number on the simulation job instance to use as a remote connection point.
|
public void setJobPort(Integer jobPort)
The port number on the simulation job instance to use as a remote connection point.
jobPort - The port number on the simulation job instance to use as a remote connection point.public Integer getJobPort()
The port number on the simulation job instance to use as a remote connection point.
public PortMapping withJobPort(Integer jobPort)
The port number on the simulation job instance to use as a remote connection point.
jobPort - The port number on the simulation job instance to use as a remote connection point.public void setApplicationPort(Integer applicationPort)
The port number on the application.
applicationPort - The port number on the application.public Integer getApplicationPort()
The port number on the application.
public PortMapping withApplicationPort(Integer applicationPort)
The port number on the application.
applicationPort - The port number on the application.public void setEnableOnPublicIp(Boolean enableOnPublicIp)
A Boolean indicating whether to enable this port mapping on public IP.
enableOnPublicIp - A Boolean indicating whether to enable this port mapping on public IP.public Boolean getEnableOnPublicIp()
A Boolean indicating whether to enable this port mapping on public IP.
public PortMapping withEnableOnPublicIp(Boolean enableOnPublicIp)
A Boolean indicating whether to enable this port mapping on public IP.
enableOnPublicIp - A Boolean indicating whether to enable this port mapping on public IP.public Boolean isEnableOnPublicIp()
A Boolean indicating whether to enable this port mapping on public IP.
public String toString()
toString in class ObjectObject.toString()public PortMapping clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.