@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-04T09:55:14.976Z[Etc/UTC]") public class V1PortStatus extends Object
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
|
String |
getProtocol()
Protocol is the protocol of the service port of which status is recorded here The supported
values are: \"TCP\", \"UDP\", \"SCTP\"
|
int |
hashCode() |
V1PortStatus |
port(Integer port) |
V1PortStatus |
protocol(String protocol) |
void |
setError(String error) |
void |
setPort(Integer port) |
void |
setProtocol(String 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(String protocol)
public String getProtocol()
public void setProtocol(String protocol)
Copyright © 2021. All rights reserved.