Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1HostAlias
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1HostAlias
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1HostAlias extends Object
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HOSTNAMESstatic StringJSON_PROPERTY_IP
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1HostAlias()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1HostAliasaddHostnamesItem(String hostnamesItem)booleanequals(Object o)List<String>getHostnames()Hostnames for the above IP address.StringgetIp()IP address of the host file entry.inthashCode()IoK8sApiCoreV1HostAliashostnames(List<String> hostnames)IoK8sApiCoreV1HostAliasip(String ip)voidsetHostnames(List<String> hostnames)voidsetIp(String ip)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_HOSTNAMES
public static final String JSON_PROPERTY_HOSTNAMES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IP
public static final String JSON_PROPERTY_IP
- See Also:
- Constant Field Values
-
-
Method Detail
-
hostnames
public IoK8sApiCoreV1HostAlias hostnames(List<String> hostnames)
-
addHostnamesItem
public IoK8sApiCoreV1HostAlias addHostnamesItem(String hostnamesItem)
-
getHostnames
@Nullable public List<String> getHostnames()
Hostnames for the above IP address.- Returns:
- hostnames
-
ip
public IoK8sApiCoreV1HostAlias ip(String ip)
-
getIp
@Nullable public String getIp()
IP address of the host file entry.- Returns:
- ip
-
setIp
public void setIp(String ip)
-
-