@Generated(value="software.amazon.awssdk:codegen") public class ListTrafficPolicyInstancesByPolicyRequest extends Route53Request implements ToCopyableBuilder<ListTrafficPolicyInstancesByPolicyRequest.Builder,ListTrafficPolicyInstancesByPolicyRequest>
A complex type that contains the information about the request to list your traffic policy instances.
Modifier and Type | Class and Description |
---|---|
static interface |
ListTrafficPolicyInstancesByPolicyRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListTrafficPolicyInstancesByPolicyRequest.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 |
hostedZoneIdMarker()
If the value of
IsTruncated in the previous response was true , you have more traffic
policy instances. |
String |
maxItems()
The maximum number of traffic policy instances to be included in the response body for this request.
|
static Class<? extends ListTrafficPolicyInstancesByPolicyRequest.Builder> |
serializableBuilderClass() |
ListTrafficPolicyInstancesByPolicyRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
trafficPolicyId()
The ID of the traffic policy for which you want to list traffic policy instances.
|
String |
trafficPolicyInstanceNameMarker()
If the value of
IsTruncated in the previous response was true , you have more traffic
policy instances. |
RRType |
trafficPolicyInstanceTypeMarker()
If the value of
IsTruncated in the previous response was true , you have more traffic
policy instances. |
String |
trafficPolicyInstanceTypeMarkerString()
If the value of
IsTruncated in the previous response was true , you have more traffic
policy instances. |
Integer |
trafficPolicyVersion()
The version of the traffic policy for which you want to list traffic policy instances.
|
requestOverrideConfig
copy
public String trafficPolicyId()
The ID of the traffic policy for which you want to list traffic policy instances.
public Integer trafficPolicyVersion()
The version of the traffic policy for which you want to list traffic policy instances. The version must be
associated with the traffic policy that is specified by TrafficPolicyId
.
TrafficPolicyId
.public String hostedZoneIdMarker()
If the value of IsTruncated
in the previous response was true
, you have more traffic
policy instances. To get more traffic policy instances, submit another
ListTrafficPolicyInstancesByPolicy
request.
For the value of hostedzoneid
, specify the value of HostedZoneIdMarker
from the
previous response, which is the hosted zone ID of the first traffic policy instance that Amazon Route 53 will
return if you submit another request.
If the value of IsTruncated
in the previous response was false
, there are no more
traffic policy instances to get.
IsTruncated
in the previous response was true
, you have more
traffic policy instances. To get more traffic policy instances, submit another
ListTrafficPolicyInstancesByPolicy
request.
For the value of hostedzoneid
, specify the value of HostedZoneIdMarker
from the
previous response, which is the hosted zone ID of the first traffic policy instance that Amazon Route 53
will return if you submit another request.
If the value of IsTruncated
in the previous response was false
, there are no
more traffic policy instances to get.
public String trafficPolicyInstanceNameMarker()
If the value of IsTruncated
in the previous response was true
, you have more traffic
policy instances. To get more traffic policy instances, submit another
ListTrafficPolicyInstancesByPolicy
request.
For the value of trafficpolicyinstancename
, specify the value of
TrafficPolicyInstanceNameMarker
from the previous response, which is the name of the first traffic
policy instance that Amazon Route 53 will return if you submit another request.
If the value of IsTruncated
in the previous response was false
, there are no more
traffic policy instances to get.
IsTruncated
in the previous response was true
, you have more
traffic policy instances. To get more traffic policy instances, submit another
ListTrafficPolicyInstancesByPolicy
request.
For the value of trafficpolicyinstancename
, specify the value of
TrafficPolicyInstanceNameMarker
from the previous response, which is the name of the first
traffic policy instance that Amazon Route 53 will return if you submit another request.
If the value of IsTruncated
in the previous response was false
, there are no
more traffic policy instances to get.
public RRType trafficPolicyInstanceTypeMarker()
If the value of IsTruncated
in the previous response was true
, you have more traffic
policy instances. To get more traffic policy instances, submit another
ListTrafficPolicyInstancesByPolicy
request.
For the value of trafficpolicyinstancetype
, specify the value of
TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first traffic
policy instance that Amazon Route 53 will return if you submit another request.
If the value of IsTruncated
in the previous response was false
, there are no more
traffic policy instances to get.
If the service returns an enum value that is not available in the current SDK version,
trafficPolicyInstanceTypeMarker
will return RRType.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from trafficPolicyInstanceTypeMarkerString()
.
IsTruncated
in the previous response was true
, you have more
traffic policy instances. To get more traffic policy instances, submit another
ListTrafficPolicyInstancesByPolicy
request.
For the value of trafficpolicyinstancetype
, specify the value of
TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first
traffic policy instance that Amazon Route 53 will return if you submit another request.
If the value of IsTruncated
in the previous response was false
, there are no
more traffic policy instances to get.
RRType
public String trafficPolicyInstanceTypeMarkerString()
If the value of IsTruncated
in the previous response was true
, you have more traffic
policy instances. To get more traffic policy instances, submit another
ListTrafficPolicyInstancesByPolicy
request.
For the value of trafficpolicyinstancetype
, specify the value of
TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first traffic
policy instance that Amazon Route 53 will return if you submit another request.
If the value of IsTruncated
in the previous response was false
, there are no more
traffic policy instances to get.
If the service returns an enum value that is not available in the current SDK version,
trafficPolicyInstanceTypeMarker
will return RRType.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from trafficPolicyInstanceTypeMarkerString()
.
IsTruncated
in the previous response was true
, you have more
traffic policy instances. To get more traffic policy instances, submit another
ListTrafficPolicyInstancesByPolicy
request.
For the value of trafficpolicyinstancetype
, specify the value of
TrafficPolicyInstanceTypeMarker
from the previous response, which is the name of the first
traffic policy instance that Amazon Route 53 will return if you submit another request.
If the value of IsTruncated
in the previous response was false
, there are no
more traffic policy instances to get.
RRType
public String maxItems()
The maximum number of traffic policy instances to be included in the response body for this request. If you have
more than MaxItems
traffic policy instances, the value of the IsTruncated
element in
the response is true
, and the values of HostedZoneIdMarker
,
TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
represent the
first traffic policy instance that Amazon Route 53 will return if you submit another request.
MaxItems
traffic policy instances, the value of the
IsTruncated
element in the response is true
, and the values of
HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and
TrafficPolicyInstanceTypeMarker
represent the first traffic policy instance that Amazon
Route 53 will return if you submit another request.public ListTrafficPolicyInstancesByPolicyRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListTrafficPolicyInstancesByPolicyRequest.Builder,ListTrafficPolicyInstancesByPolicyRequest>
toBuilder
in class Route53Request
public static ListTrafficPolicyInstancesByPolicyRequest.Builder builder()
public static Class<? extends ListTrafficPolicyInstancesByPolicyRequest.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.