Class ListTrafficPolicyInstancesByPolicyRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
A complex type that contains the information about the request to list your traffic policy instances.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.The maximum number of traffic policy instances to be included in the response body for this request.The ID of the traffic policy for which you want to list traffic policy instances.For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.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 toListTrafficPolicyInstancesByPolicy
, 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 toListTrafficPolicyInstancesByPolicy
, omit this value.void
setTrafficPolicyInstanceTypeMarker
(RRType trafficPolicyInstanceTypeMarker) For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.void
setTrafficPolicyInstanceTypeMarker
(String trafficPolicyInstanceTypeMarker) For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.void
setTrafficPolicyVersion
(Integer trafficPolicyVersion) The version of the traffic policy for which you want to list traffic policy instances.toString()
Returns a string representation of this object; useful for testing and debugging.withHostedZoneIdMarker
(String hostedZoneIdMarker) For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.withMaxItems
(String maxItems) The maximum number of traffic policy instances to be included in the response body for this request.withTrafficPolicyId
(String trafficPolicyId) The ID of the traffic policy for which you want to list traffic policy instances.withTrafficPolicyInstanceNameMarker
(String trafficPolicyInstanceNameMarker) For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.withTrafficPolicyInstanceTypeMarker
(RRType trafficPolicyInstanceTypeMarker) For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.withTrafficPolicyInstanceTypeMarker
(String trafficPolicyInstanceTypeMarker) For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.withTrafficPolicyVersion
(Integer trafficPolicyVersion) The version of the traffic policy for which you want to list traffic policy instances.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ListTrafficPolicyInstancesByPolicyRequest
public ListTrafficPolicyInstancesByPolicyRequest()
-
-
Method Details
-
setTrafficPolicyId
The ID of the traffic policy for which you want to list traffic policy instances.
- Parameters:
trafficPolicyId
- The ID of the traffic policy for which you want to list traffic policy instances.
-
getTrafficPolicyId
The ID of the traffic policy for which you want to list traffic policy instances.
- Returns:
- The ID of the traffic policy for which you want to list traffic policy instances.
-
withTrafficPolicyId
The ID of the traffic policy for which you want to list traffic policy instances.
- Parameters:
trafficPolicyId
- The ID of the traffic policy for which you want to list traffic policy instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyVersion
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
.- Parameters:
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 byTrafficPolicyId
.
-
getTrafficPolicyVersion
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
.- Returns:
- 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
.
-
withTrafficPolicyVersion
public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyVersion(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
.- Parameters:
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 byTrafficPolicyId
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHostedZoneIdMarker
For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,HostedZoneIdMarker
is the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.- Parameters:
hostedZoneIdMarker
- For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,HostedZoneIdMarker
is the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.
-
getHostedZoneIdMarker
For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,HostedZoneIdMarker
is the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.- Returns:
- For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,HostedZoneIdMarker
is the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.
-
withHostedZoneIdMarker
For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,HostedZoneIdMarker
is the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.- Parameters:
hostedZoneIdMarker
- For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,HostedZoneIdMarker
is the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyInstanceNameMarker
For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.- Parameters:
trafficPolicyInstanceNameMarker
- For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.
-
getTrafficPolicyInstanceNameMarker
For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.- Returns:
- For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.
-
withTrafficPolicyInstanceNameMarker
public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker) For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.- Parameters:
trafficPolicyInstanceNameMarker
- For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncated
in the previous response wasfalse
, omit this value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTrafficPolicyInstanceTypeMarker
For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.- Parameters:
trafficPolicyInstanceTypeMarker
- For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.- See Also:
-
getTrafficPolicyInstanceTypeMarker
For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.- Returns:
- For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone. - See Also:
-
withTrafficPolicyInstanceTypeMarker
public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker) For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.- Parameters:
trafficPolicyInstanceTypeMarker
- For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setTrafficPolicyInstanceTypeMarker
For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.- Parameters:
trafficPolicyInstanceTypeMarker
- For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.- See Also:
-
withTrafficPolicyInstanceTypeMarker
public ListTrafficPolicyInstancesByPolicyRequest withTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker) For the first request to
ListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.- Parameters:
trafficPolicyInstanceTypeMarker
- For the first request toListTrafficPolicyInstancesByPolicy
, omit this value.If the value of
IsTruncated
in the previous response wastrue
,TrafficPolicyInstanceTypeMarker
is the DNS type of the first traffic policy instance in the next group ofMaxItems
traffic policy instances.If the value of
IsTruncated
in the previous response wasfalse
, there are no more traffic policy instances to get for this hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setMaxItems
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 theIsTruncated
element in the response istrue
, and the values ofHostedZoneIdMarker
,TrafficPolicyInstanceNameMarker
, andTrafficPolicyInstanceTypeMarker
represent the first traffic policy instance in the next group ofMaxItems
traffic policy instances.- Parameters:
maxItems
- The maximum number of traffic policy instances to be included in the response body for this request. If you have more thanMaxItems
traffic policy instances, the value of theIsTruncated
element in the response istrue
, and the values ofHostedZoneIdMarker
,TrafficPolicyInstanceNameMarker
, andTrafficPolicyInstanceTypeMarker
represent the first traffic policy instance in the next group ofMaxItems
traffic policy instances.
-
getMaxItems
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 theIsTruncated
element in the response istrue
, and the values ofHostedZoneIdMarker
,TrafficPolicyInstanceNameMarker
, andTrafficPolicyInstanceTypeMarker
represent the first traffic policy instance in the next group ofMaxItems
traffic policy instances.- Returns:
- 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 theIsTruncated
element in the response istrue
, and the values ofHostedZoneIdMarker
,TrafficPolicyInstanceNameMarker
, andTrafficPolicyInstanceTypeMarker
represent the first traffic policy instance in the next group ofMaxItems
traffic policy instances.
-
withMaxItems
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 theIsTruncated
element in the response istrue
, and the values ofHostedZoneIdMarker
,TrafficPolicyInstanceNameMarker
, andTrafficPolicyInstanceTypeMarker
represent the first traffic policy instance in the next group ofMaxItems
traffic policy instances.- Parameters:
maxItems
- The maximum number of traffic policy instances to be included in the response body for this request. If you have more thanMaxItems
traffic policy instances, the value of theIsTruncated
element in the response istrue
, and the values ofHostedZoneIdMarker
,TrafficPolicyInstanceNameMarker
, andTrafficPolicyInstanceTypeMarker
represent the first traffic policy instance in the next group ofMaxItems
traffic policy instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-