@Generated(value="org.jsonschema2pojo") public class EndpointPort extends Object implements KubernetesResource
Constructor and Description |
---|
EndpointPort()
No args constructor for use in serialization
|
EndpointPort(String name,
Integer port,
String protocol) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getName() |
Integer |
getPort() |
String |
getProtocol() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setName(String name) |
void |
setPort(Integer port) |
void |
setProtocol(String protocol) |
public String getName()
public void setName(String name)
name
- The namepublic Integer getPort()
public void setPort(Integer port)
port
- The portpublic String getProtocol()
public void setProtocol(String protocol)
protocol
- The protocolCopyright © 2015–2020 Red Hat. All rights reserved.