@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-12-10T19:11:23.904Z[Etc/UTC]") public class CoreV1EndpointPort extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CoreV1EndpointPort.ProtocolEnum
The IP protocol for this port.
|
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_APP_PROTOCOL |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_PORT |
static String |
SERIALIZED_NAME_PROTOCOL |
Constructor and Description |
---|
CoreV1EndpointPort() |
Modifier and Type | Method and Description |
---|---|
CoreV1EndpointPort |
appProtocol(String appProtocol) |
boolean |
equals(Object o) |
String |
getAppProtocol()
The application protocol for this port.
|
String |
getName()
The name of this port.
|
Integer |
getPort()
The port number of the endpoint.
|
CoreV1EndpointPort.ProtocolEnum |
getProtocol()
The IP protocol for this port.
|
int |
hashCode() |
CoreV1EndpointPort |
name(String name) |
CoreV1EndpointPort |
port(Integer port) |
CoreV1EndpointPort |
protocol(CoreV1EndpointPort.ProtocolEnum protocol) |
void |
setAppProtocol(String appProtocol) |
void |
setName(String name) |
void |
setPort(Integer port) |
void |
setProtocol(CoreV1EndpointPort.ProtocolEnum protocol) |
String |
toString() |
public static final String SERIALIZED_NAME_APP_PROTOCOL
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_PORT
public static final String SERIALIZED_NAME_PROTOCOL
public CoreV1EndpointPort appProtocol(String appProtocol)
@Nullable public String getAppProtocol()
public void setAppProtocol(String appProtocol)
public CoreV1EndpointPort name(String name)
@Nullable public String getName()
public void setName(String name)
public CoreV1EndpointPort port(Integer port)
public Integer getPort()
public void setPort(Integer port)
public CoreV1EndpointPort protocol(CoreV1EndpointPort.ProtocolEnum protocol)
@Nullable public CoreV1EndpointPort.ProtocolEnum getProtocol()
public void setProtocol(CoreV1EndpointPort.ProtocolEnum protocol)
Copyright © 2022. All rights reserved.