Interface CreateTrafficPolicyInstanceRequest.Builder

  • Method Details

    • 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

      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

      (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.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.