Package net.stickycode.kuuty.model.v18
Class IoK8sApiNetworkingV1beta1IngressBackend
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiNetworkingV1beta1IngressBackend
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiNetworkingV1beta1IngressBackend extends Object
IngressBackend describes all endpoints for a given service and port.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_RESOURCEstatic StringJSON_PROPERTY_SERVICE_NAMEstatic StringJSON_PROPERTY_SERVICE_PORT
-
Constructor Summary
Constructors Constructor Description IoK8sApiNetworkingV1beta1IngressBackend()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IoK8sApiCoreV1TypedLocalObjectReferencegetResource()Get resourceStringgetServiceName()Specifies the name of the referenced service.StringgetServicePort()IntOrString is a type that can hold an int32 or a string.inthashCode()IoK8sApiNetworkingV1beta1IngressBackendresource(IoK8sApiCoreV1TypedLocalObjectReference resource)IoK8sApiNetworkingV1beta1IngressBackendserviceName(String serviceName)IoK8sApiNetworkingV1beta1IngressBackendservicePort(String servicePort)voidsetResource(IoK8sApiCoreV1TypedLocalObjectReference resource)voidsetServiceName(String serviceName)voidsetServicePort(String servicePort)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_RESOURCE
public static final String JSON_PROPERTY_RESOURCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVICE_NAME
public static final String JSON_PROPERTY_SERVICE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SERVICE_PORT
public static final String JSON_PROPERTY_SERVICE_PORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
resource
public IoK8sApiNetworkingV1beta1IngressBackend resource(IoK8sApiCoreV1TypedLocalObjectReference resource)
-
getResource
@Nullable public IoK8sApiCoreV1TypedLocalObjectReference getResource()
Get resource- Returns:
- resource
-
setResource
public void setResource(IoK8sApiCoreV1TypedLocalObjectReference resource)
-
serviceName
public IoK8sApiNetworkingV1beta1IngressBackend serviceName(String serviceName)
-
getServiceName
@Nullable public String getServiceName()
Specifies the name of the referenced service.- Returns:
- serviceName
-
setServiceName
public void setServiceName(String serviceName)
-
servicePort
public IoK8sApiNetworkingV1beta1IngressBackend servicePort(String servicePort)
-
getServicePort
@Nullable public String getServicePort()
IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.- Returns:
- servicePort
-
setServicePort
public void setServicePort(String servicePort)
-
-