Package org.cdk8s.plus24.k8s
Interface PodDnsConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodDnsConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-05T02:57:36.697Z") @Stability(Stable) public interface PodDnsConfig extends software.amazon.jsii.JsiiSerializable
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PodDnsConfig.Builder
A builder forPodDnsConfig
static class
PodDnsConfig.Jsii$Proxy
An implementation forPodDnsConfig
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static PodDnsConfig.Builder
builder()
default List<String>
getNameservers()
A list of DNS name server IP addresses.default List<PodDnsConfigOption>
getOptions()
A list of DNS resolver options.default List<String>
getSearches()
A list of DNS search domains for host-name lookup.
-
-
-
Method Detail
-
getNameservers
@Stability(Stable) @Nullable default List<String> 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.
-
getOptions
@Stability(Stable) @Nullable default List<PodDnsConfigOption> 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.
-
getSearches
@Stability(Stable) @Nullable default List<String> 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.
-
builder
@Stability(Stable) static PodDnsConfig.Builder builder()
- Returns:
- a
PodDnsConfig.Builder
ofPodDnsConfig
-
-