Class V1PodDNSConfig
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1PodDNSConfig
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1PodDNSConfig
extends Object
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddnameserversItem
(String nameserversItem) Add an item to the nameservers property in a chainable fashion.addoptionsItem
(V1PodDNSConfigOption optionsItem) Add an item to the options property in a chainable fashion.addsearchesItem
(String searchesItem) Add an item to the searches property in a chainable fashion.boolean
A list of DNS name server IP addresses.List<@Valid V1PodDNSConfigOption>
A list of DNS resolver options.A list of DNS search domains for host-name lookup.int
hashCode()
nameservers
(List<@NotNull String> nameservers) Set nameservers in a chainable fashion.options
(List<@Valid V1PodDNSConfigOption> options) Set options in a chainable fashion.Set searches in a chainable fashion.void
setNameservers
(List<@NotNull String> nameservers) Set the nameservers property valuevoid
setOptions
(List<@Valid V1PodDNSConfigOption> options) Set the options property valuevoid
setSearches
(List<@NotNull String> searches) Set the searches property valuetoString()
-
Field Details
-
JSON_PROPERTY_NAMESERVERS
- See Also:
-
JSON_PROPERTY_OPTIONS
- See Also:
-
JSON_PROPERTY_SEARCHES
- See Also:
-
-
Constructor Details
-
V1PodDNSConfig
public V1PodDNSConfig()
-
-
Method Details
-
getNameservers
A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.- Returns:
- the nameservers property value
-
setNameservers
Set the nameservers property value- Parameters:
nameservers
- property value to set
-
nameservers
Set nameservers in a chainable fashion.- Returns:
- The same instance of V1PodDNSConfig for chaining.
-
addnameserversItem
Add an item to the nameservers property in a chainable fashion.- Returns:
- The same instance of V1PodDNSConfig for chaining.
-
getOptions
A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.- Returns:
- the options property value
-
setOptions
Set the options property value- Parameters:
options
- property value to set
-
options
Set options in a chainable fashion.- Returns:
- The same instance of V1PodDNSConfig for chaining.
-
addoptionsItem
Add an item to the options property in a chainable fashion.- Returns:
- The same instance of V1PodDNSConfig for chaining.
-
getSearches
A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.- Returns:
- the searches property value
-
setSearches
Set the searches property value- Parameters:
searches
- property value to set
-
searches
Set searches in a chainable fashion.- Returns:
- The same instance of V1PodDNSConfig for chaining.
-
addsearchesItem
Add an item to the searches property in a chainable fashion.- Returns:
- The same instance of V1PodDNSConfig for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-