public class ListTrafficPolicyInstancesByPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListTrafficPolicyInstancesByPolicy operation.
Gets information about the traffic policy instances that you created by using a specify traffic policy version.
NOTE:After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element.
To get information about the traffic policy instances that you created
by using a specify traffic policy version, send a GET
request to the 2013-04-01/trafficpolicyinstance resource
and include the ID and version of the traffic policy.
Amazon Route 53 returns a maximum of 100 items in each response. If
you have a lot of traffic policy instances, you can use the
MaxItems parameter to list them in groups of up to 100.
The response includes five values that help you navigate from one
group of MaxItems traffic policy instances to the next:
If the value of IsTruncated in the response is
true , there are more traffic policy instances associated
with the specified traffic policy.
If IsTruncated is false , this response
includes the last traffic policy instance that is associated with the
specified traffic policy.
The value that you specified for the MaxItems parameter
in the request that produced the current response.
If IsTruncated is true , these values in the
response represent the first traffic policy instance in the next group
of MaxItems traffic policy instances. To list more
traffic policy instances, make another call to
ListTrafficPolicyInstancesByPolicy , and specify these
values in the corresponding request parameters.
If IsTruncated is false , all three elements
are omitted from the response.
NOOP| Constructor and Description |
|---|
ListTrafficPolicyInstancesByPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListTrafficPolicyInstancesByPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getHostedZoneIdMarker()
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value. |
String |
getMaxItems()
The maximum number of traffic policy instances to be included in the
response body for this request.
|
String |
getTrafficPolicyId()
The ID of the traffic policy for which you want to list traffic policy
instances.
|
String |
getTrafficPolicyInstanceNameMarker()
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value. |
String |
getTrafficPolicyInstanceTypeMarker()
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value. |
Integer |
getTrafficPolicyVersion()
The version of the traffic policy for which you want to list traffic
policy instances.
|
int |
hashCode() |
void |
setHostedZoneIdMarker(String hostedZoneIdMarker)
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value. |
void |
setMaxItems(String maxItems)
The maximum number of traffic policy instances to be included in the
response body for this request.
|
void |
setTrafficPolicyId(String trafficPolicyId)
The ID of the traffic policy for which you want to list traffic policy
instances.
|
void |
setTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value. |
void |
setTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value. |
void |
setTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value. |
void |
setTrafficPolicyVersion(Integer trafficPolicyVersion)
The version of the traffic policy for which you want to list traffic
policy instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTrafficPolicyInstancesByPolicyRequest |
withHostedZoneIdMarker(String hostedZoneIdMarker)
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value. |
ListTrafficPolicyInstancesByPolicyRequest |
withMaxItems(String maxItems)
The maximum number of traffic policy instances to be included in the
response body for this request.
|
ListTrafficPolicyInstancesByPolicyRequest |
withTrafficPolicyId(String trafficPolicyId)
The ID of the traffic policy for which you want to list traffic policy
instances.
|
ListTrafficPolicyInstancesByPolicyRequest |
withTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value. |
ListTrafficPolicyInstancesByPolicyRequest |
withTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value. |
ListTrafficPolicyInstancesByPolicyRequest |
withTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value. |
ListTrafficPolicyInstancesByPolicyRequest |
withTrafficPolicyVersion(Integer trafficPolicyVersion)
The version of the traffic policy for which you want to list traffic
policy instances.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic ListTrafficPolicyInstancesByPolicyRequest()
public String getTrafficPolicyId()
Constraints:
Length: 0 - 36
public void setTrafficPolicyId(String trafficPolicyId)
Constraints:
Length: 0 - 36
trafficPolicyId - The ID of the traffic policy for which you want to list traffic policy
instances.public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyId(String trafficPolicyId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 36
trafficPolicyId - The ID of the traffic policy for which you want to list traffic policy
instances.public Integer getTrafficPolicyVersion()
TrafficPolicyId.
Constraints:
Range: 1 - 1000
TrafficPolicyId.public void setTrafficPolicyVersion(Integer trafficPolicyVersion)
TrafficPolicyId.
Constraints:
Range: 1 - 1000
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.public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyVersion(Integer trafficPolicyVersion)
TrafficPolicyId.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 1000
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.public String getHostedZoneIdMarker()
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, HostedZoneIdMarker is the ID of
the hosted zone for the first traffic policy instance in the next
group of MaxItems traffic policy instances.
If the
value of IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
Constraints:
Length: 0 - 32
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, HostedZoneIdMarker is the ID of
the hosted zone for the first traffic policy instance in the next
group of MaxItems traffic policy instances.
If the
value of IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
public void setHostedZoneIdMarker(String hostedZoneIdMarker)
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, HostedZoneIdMarker is the ID of
the hosted zone for the first traffic policy instance in the next
group of MaxItems traffic policy instances.
If the
value of IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
Constraints:
Length: 0 - 32
hostedZoneIdMarker - For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, HostedZoneIdMarker is the ID of
the hosted zone for the first traffic policy instance in the next
group of MaxItems traffic policy instances.
If the
value of IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
public ListTrafficPolicyInstancesByPolicyRequest withHostedZoneIdMarker(String hostedZoneIdMarker)
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, HostedZoneIdMarker is the ID of
the hosted zone for the first traffic policy instance in the next
group of MaxItems traffic policy instances.
If the
value of IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32
hostedZoneIdMarker - For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, HostedZoneIdMarker is the ID of
the hosted zone for the first traffic policy instance in the next
group of MaxItems traffic policy instances.
If the
value of IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
public String getTrafficPolicyInstanceNameMarker()
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceNameMarker is
the name of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
Constraints:
Length: 0 - 1024
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceNameMarker is
the name of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
public void setTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceNameMarker is
the name of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
Constraints:
Length: 0 - 1024
trafficPolicyInstanceNameMarker - For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceNameMarker is
the name of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceNameMarker is
the name of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
trafficPolicyInstanceNameMarker - For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceNameMarker is
the name of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
If the value of IsTruncated in
the previous response was false, omit this value.
public String getTrafficPolicyInstanceTypeMarker()
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceTypeMarker is
the DNS type of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceTypeMarker is
the DNS type of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
RRTypepublic void setTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceTypeMarker is
the DNS type of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
trafficPolicyInstanceTypeMarker - For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceTypeMarker is
the DNS type of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
RRTypepublic ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceTypeMarker is
the DNS type of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
trafficPolicyInstanceTypeMarker - For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceTypeMarker is
the DNS type of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
RRTypepublic void setTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceTypeMarker is
the DNS type of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
trafficPolicyInstanceTypeMarker - For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceTypeMarker is
the DNS type of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
RRTypepublic ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceTypeMarker is
the DNS type of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
trafficPolicyInstanceTypeMarker - For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.
If the value of IsTruncated in the previous response
was true, TrafficPolicyInstanceTypeMarker is
the DNS type of the first traffic policy instance in the next group of
MaxItems traffic policy instances.
If the value of
IsTruncated in the previous response was
false, there are no more traffic policy instances to get
for this hosted zone.
RRTypepublic String getMaxItems()
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 in the next group of MaxItems
traffic policy instances.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 in the next group of MaxItems
traffic policy instances.public void setMaxItems(String maxItems)
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 in the next group of MaxItems
traffic policy instances.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 in the next group of MaxItems
traffic policy instances.public ListTrafficPolicyInstancesByPolicyRequest withMaxItems(String maxItems)
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 in the next group of MaxItems
traffic policy instances.
Returns a reference to this object so that method calls can be chained together.
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 in the next group of MaxItems
traffic policy instances.public String toString()
toString in class ObjectObject.toString()public ListTrafficPolicyInstancesByPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.