Interface ListTrafficPolicyVersionsResponse.Builder

  • Method Details

    • trafficPolicies

      A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.

      Parameters:
      trafficPolicies - A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trafficPolicies

      ListTrafficPolicyVersionsResponse.Builder trafficPolicies(TrafficPolicy... trafficPolicies)

      A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.

      Parameters:
      trafficPolicies - A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trafficPolicies

      A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.

      This is a convenience method that creates an instance of the TrafficPolicy.Builder avoiding the need to create one manually via TrafficPolicy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to trafficPolicies(List<TrafficPolicy>).

      Parameters:
      trafficPolicies - a consumer that will call methods on TrafficPolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • isTruncated

      A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting another ListTrafficPolicyVersions request and specifying the value of NextMarker in the marker parameter.

      Parameters:
      isTruncated - A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting another ListTrafficPolicyVersions request and specifying the value of NextMarker in the marker parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trafficPolicyVersionMarker

      ListTrafficPolicyVersionsResponse.Builder trafficPolicyVersionMarker(String trafficPolicyVersionMarker)

      If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies the first traffic policy that Amazon Route 53 will return if you submit another request. Call ListTrafficPolicyVersions again and specify the value of TrafficPolicyVersionMarker in the TrafficPolicyVersionMarker request parameter.

      This element is present only if IsTruncated is true.

      Parameters:
      trafficPolicyVersionMarker - If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies the first traffic policy that Amazon Route 53 will return if you submit another request. Call ListTrafficPolicyVersions again and specify the value of TrafficPolicyVersionMarker in the TrafficPolicyVersionMarker request parameter.

      This element is present only if IsTruncated is true.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxItems

      The value that you specified for the maxitems parameter in the ListTrafficPolicyVersions request that produced the current response.

      Parameters:
      maxItems - The value that you specified for the maxitems parameter in the ListTrafficPolicyVersions request that produced the current response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.