@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SimulationAppEndpointInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the network endpoint that you can use to connect to your custom or service app.
Constructor and Description |
---|
SimulationAppEndpointInfo() |
Modifier and Type | Method and Description |
---|---|
SimulationAppEndpointInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
The IP address of the app.
|
List<SimulationAppPortMapping> |
getIngressPortMappings()
The inbound TCP/UDP port numbers of the app.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddress(String address)
The IP address of the app.
|
void |
setIngressPortMappings(Collection<SimulationAppPortMapping> ingressPortMappings)
The inbound TCP/UDP port numbers of the app.
|
String |
toString()
Returns a string representation of this object.
|
SimulationAppEndpointInfo |
withAddress(String address)
The IP address of the app.
|
SimulationAppEndpointInfo |
withIngressPortMappings(Collection<SimulationAppPortMapping> ingressPortMappings)
The inbound TCP/UDP port numbers of the app.
|
SimulationAppEndpointInfo |
withIngressPortMappings(SimulationAppPortMapping... ingressPortMappings)
The inbound TCP/UDP port numbers of the app.
|
public void setAddress(String address)
The IP address of the app. SimSpace Weaver dynamically assigns this IP address when the app starts.
address
- The IP address of the app. SimSpace Weaver dynamically assigns this IP address when the app starts.public String getAddress()
The IP address of the app. SimSpace Weaver dynamically assigns this IP address when the app starts.
public SimulationAppEndpointInfo withAddress(String address)
The IP address of the app. SimSpace Weaver dynamically assigns this IP address when the app starts.
address
- The IP address of the app. SimSpace Weaver dynamically assigns this IP address when the app starts.public List<SimulationAppPortMapping> getIngressPortMappings()
The inbound TCP/UDP port numbers of the app. The combination of an IP address and a port number form a network endpoint.
public void setIngressPortMappings(Collection<SimulationAppPortMapping> ingressPortMappings)
The inbound TCP/UDP port numbers of the app. The combination of an IP address and a port number form a network endpoint.
ingressPortMappings
- The inbound TCP/UDP port numbers of the app. The combination of an IP address and a port number form a
network endpoint.public SimulationAppEndpointInfo withIngressPortMappings(SimulationAppPortMapping... ingressPortMappings)
The inbound TCP/UDP port numbers of the app. The combination of an IP address and a port number form a network endpoint.
NOTE: This method appends the values to the existing list (if any). Use
setIngressPortMappings(java.util.Collection)
or withIngressPortMappings(java.util.Collection)
if you want to override the existing values.
ingressPortMappings
- The inbound TCP/UDP port numbers of the app. The combination of an IP address and a port number form a
network endpoint.public SimulationAppEndpointInfo withIngressPortMappings(Collection<SimulationAppPortMapping> ingressPortMappings)
The inbound TCP/UDP port numbers of the app. The combination of an IP address and a port number form a network endpoint.
ingressPortMappings
- The inbound TCP/UDP port numbers of the app. The combination of an IP address and a port number form a
network endpoint.public String toString()
toString
in class Object
Object.toString()
public SimulationAppEndpointInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.