Class ServerAddressByClientCIDR.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.ServerAddressByClientCIDR.Builder
-
- Enclosing class:
- ServerAddressByClientCIDR
public static class ServerAddressByClientCIDR.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerAddressByClientCIDR
build()
ServerAddressByClientCIDR.Builder
clientCIDR(@NonNull java.lang.String clientCIDR)
The CIDR with which clients can match their IP to figure out the server address that they should use.ServerAddressByClientCIDR.Builder
serverAddress(@NonNull java.lang.String serverAddress)
Address of this server, suitable for a client that matches the above CIDR.java.lang.String
toString()
-
-
-
Method Detail
-
clientCIDR
public ServerAddressByClientCIDR.Builder clientCIDR(@NonNull @NonNull java.lang.String clientCIDR)
The CIDR with which clients can match their IP to figure out the server address that they should use.- Returns:
this
.
-
serverAddress
public ServerAddressByClientCIDR.Builder serverAddress(@NonNull @NonNull java.lang.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.- Returns:
this
.
-
build
public ServerAddressByClientCIDR build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-