Class V1IngressBackend
java.lang.Object
io.kubernetes.client.openapi.models.V1IngressBackend
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
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 TypeMethodDescriptionbooleanstatic V1IngressBackendCreate an instance of V1IngressBackend given an JSON stringGet resourceGet serviceinthashCode()resource(V1TypedLocalObjectReference resource) service(V1IngressServiceBackend service) voidsetResource(V1TypedLocalObjectReference resource) voidsetService(V1IngressServiceBackend service) toJson()Convert an instance of V1IngressBackend to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object 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
-