public class V1EndpointPort extends Object
Constructor and Description |
---|
V1EndpointPort() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName()
The name of this port (corresponds to ServicePort.Name).
|
Integer |
getPort()
The port number of the endpoint.
|
String |
getProtocol()
The IP protocol for this port.
|
int |
hashCode() |
V1EndpointPort |
name(String name) |
V1EndpointPort |
port(Integer port) |
V1EndpointPort |
protocol(String protocol) |
void |
setName(String name) |
void |
setPort(Integer port) |
void |
setProtocol(String protocol) |
String |
toString() |
public V1EndpointPort name(String name)
public String getName()
public void setName(String name)
public V1EndpointPort port(Integer port)
public Integer getPort()
public void setPort(Integer port)
public V1EndpointPort protocol(String protocol)
public String getProtocol()
public void setProtocol(String protocol)
Copyright © 2018. All rights reserved.