Interface CreateTrafficPolicyInstanceRequest.Builder

    • Method Detail

      • hostedZoneId

        CreateTrafficPolicyInstanceRequest.Builder hostedZoneId​(String hostedZoneId)

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

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

        CreateTrafficPolicyInstanceRequest.Builder name​(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 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 Route 53 creates for this traffic policy instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ttl

        CreateTrafficPolicyInstanceRequest.Builder ttl​(Long ttl)

        (Optional) 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 - (Optional) 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.
      • trafficPolicyId

        CreateTrafficPolicyInstanceRequest.Builder trafficPolicyId​(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.
      • trafficPolicyVersion

        CreateTrafficPolicyInstanceRequest.Builder trafficPolicyVersion​(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.