Package kubevirt.io
Class V1ServerAddressByClientCIDR
- java.lang.Object
-
- kubevirt.io.V1ServerAddressByClientCIDR
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1ServerAddressByClientCIDR extends java.lang.Object
ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
-
-
Constructor Summary
Constructors Constructor Description V1ServerAddressByClientCIDR()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1ServerAddressByClientCIDR
clientCIDR(java.lang.String clientCIDR)
boolean
equals(java.lang.Object o)
java.lang.String
getClientCIDR()
The CIDR with which clients can match their IP to figure out the server address that they should use.java.lang.String
getServerAddress()
Address of this server, suitable for a client that matches the above CIDR.int
hashCode()
V1ServerAddressByClientCIDR
serverAddress(java.lang.String serverAddress)
void
setClientCIDR(java.lang.String clientCIDR)
void
setServerAddress(java.lang.String serverAddress)
java.lang.String
toString()
-
-
-
Method Detail
-
clientCIDR
public V1ServerAddressByClientCIDR clientCIDR(java.lang.String clientCIDR)
-
getClientCIDR
public java.lang.String getClientCIDR()
The CIDR with which clients can match their IP to figure out the server address that they should use.- Returns:
- clientCIDR
-
setClientCIDR
public void setClientCIDR(java.lang.String clientCIDR)
-
serverAddress
public V1ServerAddressByClientCIDR serverAddress(java.lang.String serverAddress)
-
getServerAddress
public java.lang.String 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
public void setServerAddress(java.lang.String serverAddress)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-