public class ListTrafficPolicyInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListTrafficPolicyInstances operation.
Gets information about the traffic policy instances that you created by using the current AWS account.
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 are
associated with the current AWS account, send a GET
request to the 2013-04-01/trafficpolicyinstance resource.
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 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 three 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
ListTrafficPolicyInstances , 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 |
|---|
ListTrafficPolicyInstancesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListTrafficPolicyInstancesRequest |
clone() |
boolean |
equals(Object obj) |
String |
getHostedZoneIdMarker()
For the first request to
ListTrafficPolicyInstances, omit
this value. |
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
ListTrafficPolicyInstances, omit
this value. |
String |
getTrafficPolicyInstanceTypeMarker()
For the first request to
ListTrafficPolicyInstances, omit
this value. |
int |
hashCode() |
void |
setHostedZoneIdMarker(String hostedZoneIdMarker)
For the first request to
ListTrafficPolicyInstances, 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 |
setTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
For the first request to
ListTrafficPolicyInstances, omit
this value. |
void |
setTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstances, omit
this value. |
void |
setTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstances, omit
this value. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTrafficPolicyInstancesRequest |
withHostedZoneIdMarker(String hostedZoneIdMarker)
For the first request to
ListTrafficPolicyInstances, omit
this value. |
ListTrafficPolicyInstancesRequest |
withMaxItems(String maxItems)
The maximum number of traffic policy instances to be included in the
response body for this request.
|
ListTrafficPolicyInstancesRequest |
withTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
For the first request to
ListTrafficPolicyInstances, omit
this value. |
ListTrafficPolicyInstancesRequest |
withTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstances, omit
this value. |
ListTrafficPolicyInstancesRequest |
withTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
For the first request to
ListTrafficPolicyInstances, 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 String getHostedZoneIdMarker()
ListTrafficPolicyInstances, omit
this value. If the value of IsTruncated in the
previous response was true, you have more traffic policy
instances. To get the next group of MaxItems traffic
policy instances, submit another
ListTrafficPolicyInstances request. For the value of
HostedZoneIdMarker, specify the value of
HostedZoneIdMarker from the previous response, which is
the hosted zone ID 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.
Constraints:
Length: 0 - 32
ListTrafficPolicyInstances, omit
this value. If the value of IsTruncated in the
previous response was true, you have more traffic policy
instances. To get the next group of MaxItems traffic
policy instances, submit another
ListTrafficPolicyInstances request. For the value of
HostedZoneIdMarker, specify the value of
HostedZoneIdMarker from the previous response, which is
the hosted zone ID 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.
public void setHostedZoneIdMarker(String hostedZoneIdMarker)
ListTrafficPolicyInstances, omit
this value. If the value of IsTruncated in the
previous response was true, you have more traffic policy
instances. To get the next group of MaxItems traffic
policy instances, submit another
ListTrafficPolicyInstances request. For the value of
HostedZoneIdMarker, specify the value of
HostedZoneIdMarker from the previous response, which is
the hosted zone ID 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.
Constraints:
Length: 0 - 32
hostedZoneIdMarker - For the first request to ListTrafficPolicyInstances, omit
this value. If the value of IsTruncated in the
previous response was true, you have more traffic policy
instances. To get the next group of MaxItems traffic
policy instances, submit another
ListTrafficPolicyInstances request. For the value of
HostedZoneIdMarker, specify the value of
HostedZoneIdMarker from the previous response, which is
the hosted zone ID 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.
public ListTrafficPolicyInstancesRequest withHostedZoneIdMarker(String hostedZoneIdMarker)
ListTrafficPolicyInstances, omit
this value. If the value of IsTruncated in the
previous response was true, you have more traffic policy
instances. To get the next group of MaxItems traffic
policy instances, submit another
ListTrafficPolicyInstances request. For the value of
HostedZoneIdMarker, specify the value of
HostedZoneIdMarker from the previous response, which is
the hosted zone ID 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32
hostedZoneIdMarker - For the first request to ListTrafficPolicyInstances, omit
this value. If the value of IsTruncated in the
previous response was true, you have more traffic policy
instances. To get the next group of MaxItems traffic
policy instances, submit another
ListTrafficPolicyInstances request. For the value of
HostedZoneIdMarker, specify the value of
HostedZoneIdMarker from the previous response, which is
the hosted zone ID 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.
public String getTrafficPolicyInstanceNameMarker()
ListTrafficPolicyInstances, 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.
Constraints:
Length: 0 - 1024
ListTrafficPolicyInstances, 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.
public void setTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
ListTrafficPolicyInstances, 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.
Constraints:
Length: 0 - 1024
trafficPolicyInstanceNameMarker - For the first request to ListTrafficPolicyInstances, 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.
public ListTrafficPolicyInstancesRequest withTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker)
ListTrafficPolicyInstances, 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
trafficPolicyInstanceNameMarker - For the first request to ListTrafficPolicyInstances, 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.
public String getTrafficPolicyInstanceTypeMarker()
ListTrafficPolicyInstances, 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.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
ListTrafficPolicyInstances, 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.
RRTypepublic void setTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
ListTrafficPolicyInstances, 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.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
trafficPolicyInstanceTypeMarker - For the first request to ListTrafficPolicyInstances, 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.
RRTypepublic ListTrafficPolicyInstancesRequest withTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker)
ListTrafficPolicyInstances, 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.
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 ListTrafficPolicyInstances, 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.
RRTypepublic void setTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
ListTrafficPolicyInstances, 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.
Constraints:
Allowed Values: SOA, A, TXT, NS, CNAME, MX, PTR, SRV, SPF, AAAA
trafficPolicyInstanceTypeMarker - For the first request to ListTrafficPolicyInstances, 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.
RRTypepublic ListTrafficPolicyInstancesRequest withTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker)
ListTrafficPolicyInstances, 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.
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 ListTrafficPolicyInstances, 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.
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 ListTrafficPolicyInstancesRequest 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 ListTrafficPolicyInstancesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.