Package io.fabric8.kubernetes.api.model
Class ServerAddressByClientCIDR
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.ServerAddressByClientCIDR
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ServerAddressByClientCIDRBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ServerAddressByClientCIDR extends Object implements io.fabric8.kubernetes.api.builder.Editable<ServerAddressByClientCIDRBuilder>, KubernetesResource
ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerAddressByClientCIDR()No args constructor for use in serializationServerAddressByClientCIDR(String clientCIDR, String serverAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerAddressByClientCIDRBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClientCIDR()The CIDR with which clients can match their IP to figure out the server address that they should use.StringgetServerAddress()Address of this server, suitable for a client that matches the above CIDR.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClientCIDR(String clientCIDR)The CIDR with which clients can match their IP to figure out the server address that they should use.voidsetServerAddress(String serverAddress)Address of this server, suitable for a client that matches the above CIDR.ServerAddressByClientCIDRBuildertoBuilder()
-
-
-
Method Detail
-
getClientCIDR
public String getClientCIDR()
The CIDR with which clients can match their IP to figure out the server address that they should use.
-
setClientCIDR
public void setClientCIDR(String clientCIDR)
The CIDR with which clients can match their IP to figure out the server address that they should use.
-
getServerAddress
public 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.
-
setServerAddress
public void setServerAddress(String serverAddress)
Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.
-
edit
public ServerAddressByClientCIDRBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ServerAddressByClientCIDRBuilder>
-
toBuilder
public ServerAddressByClientCIDRBuilder toBuilder()
-
-