Class PodDnsConfig.Jsii$Proxy

  • All Implemented Interfaces:
    PodDnsConfig, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    PodDnsConfig

    @Stability(Stable)
    @Internal
    public static final class PodDnsConfig.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements PodDnsConfig
    An implementation for PodDnsConfig
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getNameservers

        public final List<String> getNameservers()
        Description copied from interface: PodDnsConfig
        A list of DNS name server IP addresses.

        This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.

        Specified by:
        getNameservers in interface PodDnsConfig
      • getOptions

        public final List<PodDnsConfigOption> getOptions()
        Description copied from interface: PodDnsConfig
        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.

        Specified by:
        getOptions in interface PodDnsConfig
      • getSearches

        public final List<String> getSearches()
        Description copied from interface: PodDnsConfig
        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.

        Specified by:
        getSearches in interface PodDnsConfig
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object