Interface ListTrafficPolicyInstancesResponse.Builder

  • Method Details

    • trafficPolicyInstances

      ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstances(Collection<TrafficPolicyInstance> trafficPolicyInstances)

      A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

      Parameters:
      trafficPolicyInstances - A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trafficPolicyInstances

      ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstances(TrafficPolicyInstance... trafficPolicyInstances)

      A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

      Parameters:
      trafficPolicyInstances - A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trafficPolicyInstances

      ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstances(Consumer<TrafficPolicyInstance.Builder>... trafficPolicyInstances)

      A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

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

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

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

      ListTrafficPolicyInstancesResponse.Builder hostedZoneIdMarker(String hostedZoneIdMarker)

      If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance that Route 53 will return if you submit another ListTrafficPolicyInstances request.

      Parameters:
      hostedZoneIdMarker - If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance that Route 53 will return if you submit another ListTrafficPolicyInstances request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trafficPolicyInstanceNameMarker

      ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)

      If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance that Route 53 will return if you submit another ListTrafficPolicyInstances request.

      Parameters:
      trafficPolicyInstanceNameMarker - If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance that Route 53 will return if you submit another ListTrafficPolicyInstances request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trafficPolicyInstanceTypeMarker

      ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)

      If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit another ListTrafficPolicyInstances request.

      Parameters:
      trafficPolicyInstanceTypeMarker - If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit another ListTrafficPolicyInstances request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • trafficPolicyInstanceTypeMarker

      ListTrafficPolicyInstancesResponse.Builder trafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)

      If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit another ListTrafficPolicyInstances request.

      Parameters:
      trafficPolicyInstanceTypeMarker - If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit another ListTrafficPolicyInstances request.
      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 policy instances to be listed. If the response was truncated, you can get more traffic policy instances by calling ListTrafficPolicyInstances again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker in the corresponding request parameters.

      Parameters:
      isTruncated - A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get more traffic policy instances by calling ListTrafficPolicyInstances again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker in the corresponding request parameters.
      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 call to ListTrafficPolicyInstances that produced the current response.

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