Package net.stickycode.kuuty.model.v18
Class IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference extends Object
ServiceReference holds a reference to Service.legacy.k8s.io
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_NAMESPACEstatic StringJSON_PROPERTY_PORT
-
Constructor Summary
Constructors Constructor Description IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()Name is the name of the serviceStringgetNamespace()Namespace is the namespace of the serviceIntegergetPort()If specified, the port on the service that hosting webhook.inthashCode()IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReferencename(String name)IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReferencenamespace(String namespace)IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReferenceport(Integer port)voidsetName(String name)voidsetNamespace(String namespace)voidsetPort(Integer port)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAMESPACE
public static final String JSON_PROPERTY_NAMESPACE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PORT
public static final String JSON_PROPERTY_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference name(String name)
-
getName
@Nullable public String getName()
Name is the name of the service- Returns:
- name
-
setName
public void setName(String name)
-
namespace
public IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference namespace(String namespace)
-
getNamespace
@Nullable public String getNamespace()
Namespace is the namespace of the service- Returns:
- namespace
-
setNamespace
public void setNamespace(String namespace)
-
port
public IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference port(Integer port)
-
getPort
@Nullable public Integer getPort()
If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).- Returns:
- port
-
setPort
public void setPort(Integer port)
-
-