public class ListTrafficPolicyInstancesByHostedZoneRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListTrafficPolicyInstancesByHostedZone operation.
Gets information about the traffic policy instances that you created in a specified hosted zone.
NOTE:After you submit 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
in a specified hosted zone, send a GET request to the
2013-04-01/trafficpolicyinstance resource and include the
ID of the hosted zone.
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 four 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 current AWS account.
If IsTruncated is false , this response
includes the last traffic policy instance that is associated with the
current account.
The value that you specified for the MaxItems parameter
in the request that produced the current response.
If IsTruncated is true , these two 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
ListTrafficPolicyInstancesByHostedZone , 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 |
|---|
ListTrafficPolicyInstancesByHostedZoneRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListTrafficPolicyInstancesByHostedZoneRequest |
clone() |
boolean |
equals(Object obj) |
String |
getHostedZoneId()
The ID of the hosted zone for which you want to list traffic policy
instances.
|
String |
getMaxItems()
The maximum number of traffic policy instances to be included in the
response body for this request.
|
String |
getTrafficPolicyInstanceNameMarker()
For the first request to
ListTrafficPolicyInstancesByHostedZone, omit this value. |
String |
getTrafficPolicyInstanceTypeMarker()
For the first request to
ListTrafficPolicyInstancesByHostedZone, omit this value. |
int |
hashCode() |
void |
setHostedZoneId(String hostedZoneId)
The ID of the hosted zone for which you want to list traffic policy
instances.
|
void |
setMaxItems(String maxItems)
The maximum number of traffic policy instances to be included in the
response body for this request.
|
void |
setTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
For the first request to
ListTrafficPolicyInstancesByHostedZone, omit this value. |
void |
setTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstancesByHostedZone, omit this value. |
void |
setTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstancesByHostedZone, omit this value. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTrafficPolicyInstancesByHostedZoneRequest |
withHostedZoneId(String hostedZoneId)
The ID of the hosted zone for which you want to list traffic policy
instances.
|
ListTrafficPolicyInstancesByHostedZoneRequest |
withMaxItems(String maxItems)
The maximum number of traffic policy instances to be included in the
response body for this request.
|
ListTrafficPolicyInstancesByHostedZoneRequest |
withTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
For the first request to
ListTrafficPolicyInstancesByHostedZone, omit this value. |
ListTrafficPolicyInstancesByHostedZoneRequest |
withTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstancesByHostedZone, omit this value. |
ListTrafficPolicyInstancesByHostedZoneRequest |
withTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstancesByHostedZone, omit this value. |
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic ListTrafficPolicyInstancesByHostedZoneRequest()
public String getHostedZoneId()
Constraints:
Length: 0 - 32
public void setHostedZoneId(String hostedZoneId)
Constraints:
Length: 0 - 32
hostedZoneId - The ID of the hosted zone for which you want to list traffic policy
instances.public ListTrafficPolicyInstancesByHostedZoneRequest withHostedZoneId(String hostedZoneId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32
hostedZoneId - The ID of the hosted zone for which you want to list traffic policy
instances.public String getTrafficPolicyInstanceNameMarker()
ListTrafficPolicyInstancesByHostedZone, 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
ListTrafficPolicyInstancesByHostedZone, 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)
ListTrafficPolicyInstancesByHostedZone, 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
ListTrafficPolicyInstancesByHostedZone, 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 ListTrafficPolicyInstancesByHostedZoneRequest withTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
ListTrafficPolicyInstancesByHostedZone, 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
ListTrafficPolicyInstancesByHostedZone, 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()
ListTrafficPolicyInstancesByHostedZone, 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
ListTrafficPolicyInstancesByHostedZone, 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)
ListTrafficPolicyInstancesByHostedZone, 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
ListTrafficPolicyInstancesByHostedZone, 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 ListTrafficPolicyInstancesByHostedZoneRequest withTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
ListTrafficPolicyInstancesByHostedZone, 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
ListTrafficPolicyInstancesByHostedZone, 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)
ListTrafficPolicyInstancesByHostedZone, 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
ListTrafficPolicyInstancesByHostedZone, 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 ListTrafficPolicyInstancesByHostedZoneRequest withTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
ListTrafficPolicyInstancesByHostedZone, 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
ListTrafficPolicyInstancesByHostedZone, 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 ListTrafficPolicyInstancesByHostedZoneRequest 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 ListTrafficPolicyInstancesByHostedZoneRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.