Class IngressPortStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.networking.v1.IngressPortStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<IngressPortStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class IngressPortStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<IngressPortStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceIngressPortStatus represents the error condition of a service port- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IngressPortStatus()No args constructor for use in serializationIngressPortStatus(String error, Integer port, String protocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressPortStatusBuilderedit()Map<String,Object>getAdditionalProperties()StringgetError()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 useIntegergetPort()port is the port number of the ingress port.StringgetProtocol()protocol is the protocol of the ingress port.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetError(String error)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 usevoidsetPort(Integer port)port is the port number of the ingress port.voidsetProtocol(String protocol)protocol is the protocol of the ingress port.IngressPortStatusBuildertoBuilder()
-
-
-
Method Detail
-
getError
public 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 useCamelCase names
- cloud provider specific error values must have names that comply with the
format foo.example.com/CamelCase.
-
setError
public void setError(String error)
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 useCamelCase names
- cloud provider specific error values must have names that comply with the
format foo.example.com/CamelCase.
-
getPort
public Integer getPort()
port is the port number of the ingress port.
-
setPort
public void setPort(Integer port)
port is the port number of the ingress port.
-
getProtocol
public String getProtocol()
protocol is the protocol of the ingress port. The supported values are: "TCP", "UDP", "SCTP"
-
setProtocol
public void setProtocol(String protocol)
protocol is the protocol of the ingress port. The supported values are: "TCP", "UDP", "SCTP"
-
edit
public IngressPortStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<IngressPortStatusBuilder>
-
toBuilder
public IngressPortStatusBuilder toBuilder()
-
-