Class V1SessionAffinityConfig
java.lang.Object
io.kubernetes.client.openapi.models.V1SessionAffinityConfig
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1SessionAffinityConfig
extends Object
SessionAffinityConfig represents the configurations of session affinity.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclientIP(V1ClientIPConfig clientIP) booleanstatic V1SessionAffinityConfigCreate an instance of V1SessionAffinityConfig given an JSON stringGet clientIPinthashCode()voidsetClientIP(V1ClientIPConfig clientIP) toJson()Convert an instance of V1SessionAffinityConfig to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CLIENT_I_P
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1SessionAffinityConfig
public V1SessionAffinityConfig()
-
-
Method Details
-
clientIP
-
getClientIP
Get clientIP- Returns:
- clientIP
-
setClientIP
-
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 V1SessionAffinityConfig
-
fromJson
Create an instance of V1SessionAffinityConfig given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1SessionAffinityConfig
- Throws:
IOException- if the JSON string is invalid with respect to V1SessionAffinityConfig
-
toJson
Convert an instance of V1SessionAffinityConfig to an JSON string- Returns:
- JSON string
-