Interface TrafficPolicy.Builder

    • Method Detail

      • id

        TrafficPolicy.Builder id​(String 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

        TrafficPolicy.Builder name​(String 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

        TrafficPolicy.Builder type​(String 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:
        RRType, RRType
      • type

        TrafficPolicy.Builder type​(RRType 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:
        RRType, RRType
      • 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.