Class V1SessionAffinityConfig
java.lang.Object
io.kubernetes.client.openapi.models.V1SessionAffinityConfig
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
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) boolean
static V1SessionAffinityConfig
Create an instance of V1SessionAffinityConfig given an JSON stringGet clientIPint
hashCode()
void
setClientIP
(V1ClientIPConfig clientIP) toJson()
Convert an instance of V1SessionAffinityConfig 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_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
-
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 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
-