@Generated(value="org.jsonschema2pojo") public class Port extends Object
Constructor and Description |
---|
Port() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Integer |
getContainerPort()
The port on which the container is listening.
|
Integer |
getHostPort()
The port on the host which maps to the containerPort.
|
String |
getName()
A symbolic name used to create and track the port.
|
String |
getProtocol()
The protocol for this port.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setContainerPort(Integer containerPort)
The port on which the container is listening.
|
void |
setHostPort(Integer hostPort)
The port on the host which maps to the containerPort.
|
void |
setName(String name)
A symbolic name used to create and track the port.
|
void |
setProtocol(String protocol)
The protocol for this port.
|
String |
toString() |
public String getName()
public void setName(String name)
name
- The namepublic Integer getContainerPort()
public void setContainerPort(Integer containerPort)
containerPort
- The containerPortpublic Integer getHostPort()
public void setHostPort(Integer hostPort)
hostPort
- The hostPortpublic String getProtocol()
public void setProtocol(String protocol)
protocol
- The protocolCopyright © 2011–2014 Red Hat. All rights reserved.