Class V1IngressClassSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1IngressClassSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
public class V1IngressClassSpec
extends Object
IngressClassSpec provides information about the class of an Ingress.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontroller
(String controller) boolean
static V1IngressClassSpec
Create an instance of V1IngressClassSpec given an JSON stringcontroller refers to the name of the controller that should handle this class.Get parametersint
hashCode()
parameters
(V1IngressClassParametersReference parameters) void
setController
(String controller) void
setParameters
(V1IngressClassParametersReference parameters) toJson()
Convert an instance of V1IngressClassSpec to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CONTROLLER
- See Also:
-
SERIALIZED_NAME_PARAMETERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1IngressClassSpec
public V1IngressClassSpec()
-
-
Method Details
-
controller
-
getController
controller refers to the name of the controller that should handle this class. This allows for different \"flavors\" that are controlled by the same controller. For example, you may have different parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. \"acme.io/ingress-controller\". This field is immutable.- Returns:
- controller
-
setController
-
parameters
-
getParameters
Get parameters- Returns:
- parameters
-
setParameters
-
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 V1IngressClassSpec
-
fromJson
Create an instance of V1IngressClassSpec given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1IngressClassSpec
- Throws:
IOException
- if the JSON string is invalid with respect to V1IngressClassSpec
-
toJson
Convert an instance of V1IngressClassSpec to an JSON string- Returns:
- JSON string
-