@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-12-10T19:11:23.904Z[Etc/UTC]") public class V1PortStatus extends Object
Modifier and Type | Class and Description |
---|---|
static class |
V1PortStatus.ProtocolEnum
Protocol is the protocol of the service port of which status is recorded here The supported
values are: \"TCP\", \"UDP\", \"SCTP\" Possible enum values: -
`\"SCTP\"` is the SCTP protocol.
|
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ERROR |
static String |
SERIALIZED_NAME_PORT |
static String |
SERIALIZED_NAME_PROTOCOL |
Constructor and Description |
---|
V1PortStatus() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
V1PortStatus |
error(String error) |
String |
getError()
Error is to record the problem with the service port The format of the error shall comply with
the following rules: - built-in error values shall be specified in this file and those shall
use CamelCase names - cloud provider specific error values must have names that comply with the
format foo.example.com/CamelCase.
|
Integer |
getPort()
Port is the port number of the service port of which status is recorded here
|
V1PortStatus.ProtocolEnum |
getProtocol()
Protocol is the protocol of the service port of which status is recorded here The supported
values are: \"TCP\", \"UDP\", \"SCTP\" Possible enum values: -
`\"SCTP\"` is the SCTP protocol.
|
int |
hashCode() |
V1PortStatus |
port(Integer port) |
V1PortStatus |
protocol(V1PortStatus.ProtocolEnum protocol) |
void |
setError(String error) |
void |
setPort(Integer port) |
void |
setProtocol(V1PortStatus.ProtocolEnum protocol) |
String |
toString() |
public static final String SERIALIZED_NAME_ERROR
public static final String SERIALIZED_NAME_PORT
public static final String SERIALIZED_NAME_PROTOCOL
public V1PortStatus error(String error)
@Nullable public String getError()
public void setError(String error)
public V1PortStatus port(Integer port)
public Integer getPort()
public void setPort(Integer port)
public V1PortStatus protocol(V1PortStatus.ProtocolEnum protocol)
public V1PortStatus.ProtocolEnum getProtocol()
public void setProtocol(V1PortStatus.ProtocolEnum protocol)
Copyright © 2022. All rights reserved.