Interface TrafficPolicy.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TrafficPolicy.Builder,TrafficPolicy>, SdkBuilder<TrafficPolicy.Builder,TrafficPolicy>, SdkPojo
Enclosing class:
TrafficPolicy

public static interface TrafficPolicy.Builder extends SdkPojo, CopyableBuilder<TrafficPolicy.Builder,TrafficPolicy>
  • Method Details

    • id

      The ID that Amazon Route 53 assigned to a traffic policy when you created it.

      Parameters:
      id - The ID that Amazon Route 53 assigned to a traffic policy when you created it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      TrafficPolicy.Builder version(Integer version)

      The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version is always 1.

      Parameters:
      version - The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version is always 1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name that you specified when you created the traffic policy.

      Parameters:
      name - The name that you specified when you created the traffic policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.

      Parameters:
      type - The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.

      Parameters:
      type - The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • document

      TrafficPolicy.Builder document(String document)

      The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy request. For more information about the JSON format, see Traffic Policy Document Format.

      Parameters:
      document - The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy request. For more information about the JSON format, see Traffic Policy Document Format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • comment

      TrafficPolicy.Builder comment(String comment)

      The comment that you specify in the CreateTrafficPolicy request, if any.

      Parameters:
      comment - The comment that you specify in the CreateTrafficPolicy request, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.