route53/hosted_zone.py
def nameservers(self):
        """
        :rtype: list
        :returns: A list of nameserver strings for this hosted zone.
        """

        # If this HostedZone was instantiated by ListHostedZones, the nameservers
        # attribute didn't get populated. If the user requests it, we'll
        # lazy load by querying it in after the fact. It's safe to cache like
        # this since  these nameserver values won't change.
        if not self._nameservers:
            # We'll just snatch the nameserver values from a fresh copy
            # via GetHostedZone.
            hosted_zone = self.connection.get_hosted_zone_by_id(self.id)
            self._nameservers = hosted_zone._nameservers

        return self._nameservers
def nameservers(self):
        """
        :rtype: list
        :returns: A list of nameserver strings for this hosted zone.
        """

        # If this HostedZone was instantiated by ListHostedZones, the nameservers
        # attribute didn't get populated. If the user requests it, we'll
        # lazy load by querying it in after the fact. It's safe to cache like
        # this since  these nameserver values won't change.
        if not self._nameservers:
            # We'll just snatch the nameserver values from a fresh copy
            # via GetHostedZone.
            hosted_zone = self.connection.get_hosted_zone_by_id(self.id)
            self._nameservers = hosted_zone._nameservers

        return self._nameservers
:rtype: list
        :returns: A list of nameserver strings for this hosted zone.