Class HostedZone

    • Constructor Detail

      • HostedZone

        public HostedZone()
        Default constructor for HostedZone object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • HostedZone

        public HostedZone​(String id,
                          String name,
                          String callerReference)
        Constructs a new HostedZone object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        id - The ID of the specified hosted zone.
        name - The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

        This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of NameServers elements returned in DelegationSet.

        callerReference - A unique string that identifies the request to create the hosted zone.
    • Method Detail

      • setId

        public void setId​(String id)

        The ID of the specified hosted zone.

        Parameters:
        id - The ID of the specified hosted zone.
      • getId

        public String getId()

        The ID of the specified hosted zone.

        Returns:
        The ID of the specified hosted zone.
      • withId

        public HostedZone withId​(String id)

        The ID of the specified hosted zone.

        Parameters:
        id - The ID of the specified hosted zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName​(String name)

        The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

        This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of NameServers elements returned in DelegationSet.

        Parameters:
        name - The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

        This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of NameServers elements returned in DelegationSet.

      • getName

        public String getName()

        The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

        This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of NameServers elements returned in DelegationSet.

        Returns:
        The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

        This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of NameServers elements returned in DelegationSet.

      • withName

        public HostedZone withName​(String name)

        The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

        This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of NameServers elements returned in DelegationSet.

        Parameters:
        name - The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

        This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of NameServers elements returned in DelegationSet.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCallerReference

        public void setCallerReference​(String callerReference)

        A unique string that identifies the request to create the hosted zone.

        Parameters:
        callerReference - A unique string that identifies the request to create the hosted zone.
      • getCallerReference

        public String getCallerReference()

        A unique string that identifies the request to create the hosted zone.

        Returns:
        A unique string that identifies the request to create the hosted zone.
      • withCallerReference

        public HostedZone withCallerReference​(String callerReference)

        A unique string that identifies the request to create the hosted zone.

        Parameters:
        callerReference - A unique string that identifies the request to create the hosted zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConfig

        public void setConfig​(HostedZoneConfig config)

        A complex type that contains the Comment element.

        Parameters:
        config - A complex type that contains the Comment element.
      • getConfig

        public HostedZoneConfig getConfig()

        A complex type that contains the Comment element.

        Returns:
        A complex type that contains the Comment element.
      • withConfig

        public HostedZone withConfig​(HostedZoneConfig config)

        A complex type that contains the Comment element.

        Parameters:
        config - A complex type that contains the Comment element.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setResourceRecordSetCount

        public void setResourceRecordSetCount​(Long resourceRecordSetCount)

        Total number of resource record sets in the hosted zone.

        Parameters:
        resourceRecordSetCount - Total number of resource record sets in the hosted zone.
      • getResourceRecordSetCount

        public Long getResourceRecordSetCount()

        Total number of resource record sets in the hosted zone.

        Returns:
        Total number of resource record sets in the hosted zone.
      • withResourceRecordSetCount

        public HostedZone withResourceRecordSetCount​(Long resourceRecordSetCount)

        Total number of resource record sets in the hosted zone.

        Parameters:
        resourceRecordSetCount - Total number of resource record sets in the hosted zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object