@Introspected
public class ServiceSpec
extends java.lang.Object
Constructor and Description |
---|
ServiceSpec() |
Modifier and Type | Method and Description |
---|---|
java.net.InetAddress |
getClusterIp() |
java.lang.String |
getExternalName() |
java.util.List<Port> |
getPorts() |
java.lang.String |
getType() |
void |
setClusterIp(java.net.InetAddress clusterIp) |
void |
setExternalName(java.lang.String externalName) |
void |
setPorts(java.util.List<Port> ports) |
void |
setType(java.lang.String type) |
public java.util.List<Port> getPorts()
public void setPorts(java.util.List<Port> ports)
ports
- The list of ports that are exposed by this servicepublic java.net.InetAddress getClusterIp()
public void setClusterIp(java.net.InetAddress clusterIp)
clusterIp
- The IP address of the service.public java.lang.String getType()
public void setType(java.lang.String type)
type
- The type of service.public java.lang.String getExternalName()
public void setExternalName(java.lang.String externalName)
externalName
- The external name of service.