Class ListTrafficPoliciesRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<ListTrafficPoliciesRequest.Builder,ListTrafficPoliciesRequest>

@Generated("software.amazon.awssdk:codegen") public final class ListTrafficPoliciesRequest extends Route53Request implements ToCopyableBuilder<ListTrafficPoliciesRequest.Builder,ListTrafficPoliciesRequest>

A complex type that contains the information about the request to list the traffic policies that are associated with the current Amazon Web Services account.

  • Method Details

    • trafficPolicyIdMarker

      public final String trafficPolicyIdMarker()

      (Conditional) For your first request to ListTrafficPolicies, don't include the TrafficPolicyIdMarker parameter.

      If you have more traffic policies than the value of MaxItems, ListTrafficPolicies returns only the first MaxItems traffic policies. To get the next group of policies, submit another request to ListTrafficPolicies. For the value of TrafficPolicyIdMarker, specify the value of TrafficPolicyIdMarker that was returned in the previous response.

      Returns:
      (Conditional) For your first request to ListTrafficPolicies, don't include the TrafficPolicyIdMarker parameter.

      If you have more traffic policies than the value of MaxItems, ListTrafficPolicies returns only the first MaxItems traffic policies. To get the next group of policies, submit another request to ListTrafficPolicies. For the value of TrafficPolicyIdMarker, specify the value of TrafficPolicyIdMarker that was returned in the previous response.

    • maxItems

      public final String maxItems()

      (Optional) The maximum number of traffic policies that you want Amazon Route 53 to return in response to this request. If you have more than MaxItems traffic policies, the value of IsTruncated in the response is true, and the value of TrafficPolicyIdMarker is the ID of the first traffic policy that Route 53 will return if you submit another request.

      Returns:
      (Optional) The maximum number of traffic policies that you want Amazon Route 53 to return in response to this request. If you have more than MaxItems traffic policies, the value of IsTruncated in the response is true, and the value of TrafficPolicyIdMarker is the ID of the first traffic policy that Route 53 will return if you submit another request.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<ListTrafficPoliciesRequest.Builder,ListTrafficPoliciesRequest>
      Specified by:
      toBuilder in class Route53Request
    • builder

      public static ListTrafficPoliciesRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListTrafficPoliciesRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo