Class V1IngressBackend
java.lang.Object
io.kubernetes.client.openapi.models.V1IngressBackend
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1IngressBackend
extends Object
IngressBackend describes all endpoints for a given service and port.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1IngressBackend
Create an instance of V1IngressBackend given an JSON stringGet resourceGet serviceint
hashCode()
resource
(V1TypedLocalObjectReference resource) service
(V1IngressServiceBackend service) void
setResource
(V1TypedLocalObjectReference resource) void
setService
(V1IngressServiceBackend service) toJson()
Convert an instance of V1IngressBackend to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_RESOURCE
- See Also:
-
SERIALIZED_NAME_SERVICE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1IngressBackend
public V1IngressBackend()
-
-
Method Details
-
resource
-
getResource
Get resource- Returns:
- resource
-
setResource
-
service
-
getService
Get service- Returns:
- service
-
setService
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to V1IngressBackend
-
fromJson
Create an instance of V1IngressBackend given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1IngressBackend
- Throws:
IOException
- if the JSON string is invalid with respect to V1IngressBackend
-
toJson
Convert an instance of V1IngressBackend to an JSON string- Returns:
- JSON string
-