Class V1HostAlias
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1HostAlias
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1HostAlias
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddhostnamesItem
(String hostnamesItem) Add an item to the hostnames property in a chainable fashion.boolean
Hostnames for the above IP address.getIp()
IP address of the host file entry.int
hashCode()
Set hostnames in a chainable fashion.Set ip in a chainable fashion.void
setHostnames
(List<String> hostnames) Set the hostnames property valuevoid
Set the ip property valuetoString()
-
Field Details
-
JSON_PROPERTY_HOSTNAMES
- See Also:
-
JSON_PROPERTY_IP
- See Also:
-
-
Constructor Details
-
V1HostAlias
public V1HostAlias()
-
-
Method Details
-
getHostnames
Hostnames for the above IP address.- Returns:
- the hostnames property value
-
setHostnames
Set the hostnames property value -
hostnames
Set hostnames in a chainable fashion.- Returns:
- The same instance of V1HostAlias for chaining.
-
addhostnamesItem
Add an item to the hostnames property in a chainable fashion.- Returns:
- The same instance of V1HostAlias for chaining.
-
getIp
IP address of the host file entry.- Returns:
- the ip property value
-
setIp
Set the ip property value -
ip
Set ip in a chainable fashion.- Returns:
- The same instance of V1HostAlias for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-