Class V1ServerAddressByClientCIDR
java.lang.Object
io.kubernetes.client.openapi.models.V1ServerAddressByClientCIDR
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1ServerAddressByClientCIDR
extends Object
ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclientCIDR
(String clientCIDR) boolean
static V1ServerAddressByClientCIDR
Create an instance of V1ServerAddressByClientCIDR given an JSON stringThe CIDR with which clients can match their IP to figure out the server address that they should use.Address of this server, suitable for a client that matches the above CIDR.int
hashCode()
serverAddress
(String serverAddress) void
setClientCIDR
(String clientCIDR) void
setServerAddress
(String serverAddress) toJson()
Convert an instance of V1ServerAddressByClientCIDR 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_C_I_D_R
- See Also:
-
SERIALIZED_NAME_SERVER_ADDRESS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ServerAddressByClientCIDR
public V1ServerAddressByClientCIDR()
-
-
Method Details
-
clientCIDR
-
getClientCIDR
The CIDR with which clients can match their IP to figure out the server address that they should use.- Returns:
- clientCIDR
-
setClientCIDR
-
serverAddress
-
getServerAddress
Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.- Returns:
- serverAddress
-
setServerAddress
-
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 V1ServerAddressByClientCIDR
-
fromJson
Create an instance of V1ServerAddressByClientCIDR given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ServerAddressByClientCIDR
- Throws:
IOException
- if the JSON string is invalid with respect to V1ServerAddressByClientCIDR
-
toJson
Convert an instance of V1ServerAddressByClientCIDR to an JSON string- Returns:
- JSON string
-