@Generated(value="software.amazon.awssdk:codegen") public 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 AWS account.
Modifier and Type | Class and Description |
---|---|
static interface |
ListTrafficPoliciesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListTrafficPoliciesRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
maxItems()
(Optional) The maximum number of traffic policies that you want Amazon Route 53 to return in response to this
request.
|
static Class<? extends ListTrafficPoliciesRequest.Builder> |
serializableBuilderClass() |
ListTrafficPoliciesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
trafficPolicyIdMarker()
(Conditional) For your first request to
ListTrafficPolicies , don't include the
TrafficPolicyIdMarker parameter. |
requestOverrideConfig
copy
public 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.
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.
public 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 Amazon Route 53 will return if you submit another request.
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 Amazon Route 53 will return
if you submit another request.public ListTrafficPoliciesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListTrafficPoliciesRequest.Builder,ListTrafficPoliciesRequest>
toBuilder
in class Route53Request
public static ListTrafficPoliciesRequest.Builder builder()
public static Class<? extends ListTrafficPoliciesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.