Class CreateTrafficPolicyInstanceRequest

    • Constructor Detail

      • CreateTrafficPolicyInstanceRequest

        public CreateTrafficPolicyInstanceRequest()
    • Method Detail

      • setHostedZoneId

        public void setHostedZoneId​(String hostedZoneId)

        The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.

        Parameters:
        hostedZoneId - The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.
      • getHostedZoneId

        public String getHostedZoneId()

        The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.

        Returns:
        The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.
      • withHostedZoneId

        public CreateTrafficPolicyInstanceRequest withHostedZoneId​(String hostedZoneId)

        The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.

        Parameters:
        hostedZoneId - The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName​(String name)

        The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.

        Parameters:
        name - The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.
      • getName

        public String getName()

        The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.

        Returns:
        The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.
      • withName

        public CreateTrafficPolicyInstanceRequest withName​(String name)

        The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.

        Parameters:
        name - The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTTL

        public void setTTL​(Long tTL)

        The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.

        Parameters:
        tTL - The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.
      • getTTL

        public Long getTTL()

        The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.

        Returns:
        The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.
      • withTTL

        public CreateTrafficPolicyInstanceRequest withTTL​(Long tTL)

        The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.

        Parameters:
        tTL - The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTrafficPolicyId

        public void setTrafficPolicyId​(String trafficPolicyId)

        The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

        Parameters:
        trafficPolicyId - The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
      • getTrafficPolicyId

        public String getTrafficPolicyId()

        The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

        Returns:
        The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
      • withTrafficPolicyId

        public CreateTrafficPolicyInstanceRequest withTrafficPolicyId​(String trafficPolicyId)

        The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

        Parameters:
        trafficPolicyId - The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTrafficPolicyVersion

        public void setTrafficPolicyVersion​(Integer trafficPolicyVersion)

        The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

        Parameters:
        trafficPolicyVersion - The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
      • getTrafficPolicyVersion

        public Integer getTrafficPolicyVersion()

        The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

        Returns:
        The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
      • withTrafficPolicyVersion

        public CreateTrafficPolicyInstanceRequest withTrafficPolicyVersion​(Integer trafficPolicyVersion)

        The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

        Parameters:
        trafficPolicyVersion - The version of the traffic policy that you want to use to create resource record sets in the specified 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