Package io.fabric8.kubernetes.api.model
Class ServiceReference
java.lang.Object
io.fabric8.kubernetes.api.model.ServiceReference
- All Implemented Interfaces:
KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class ServiceReference extends Object implements KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ServiceReference()No args constructor for use in serializationServiceReference(String name, String namespace, Integer port) -
Method Summary
Modifier and Type Method Description Map<String,Object>getAdditionalProperties()StringgetName()StringgetNamespace()IntegergetPort()voidsetAdditionalProperty(String name, Object value)voidsetName(String name)voidsetNamespace(String namespace)voidsetPort(Integer port)
-
Constructor Details
-
ServiceReference
public ServiceReference()No args constructor for use in serialization -
ServiceReference
- Parameters:
port-name-namespace-
-
-
Method Details
-
getName
- Returns:
- The name
-
setName
- Parameters:
name- The name
-
getNamespace
- Returns:
- The namespace
-
setNamespace
- Parameters:
namespace- The namespace
-
getPort
- Returns:
- The port
-
setPort
- Parameters:
port- The port
-
getAdditionalProperties
-
setAdditionalProperty
-