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.booleanFor 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.inthashCode()voidsetHostedZoneIdMarker(String hostedZoneIdMarker) For the first request toListTrafficPolicyInstancesByPolicy, omit this value.voidsetMaxItems(String maxItems) The maximum number of traffic policy instances to be included in the response body for this request.voidsetTrafficPolicyId(String trafficPolicyId) The ID of the traffic policy for which you want to list traffic policy instances.voidsetTrafficPolicyInstanceNameMarker(String trafficPolicyInstanceNameMarker) For the first request toListTrafficPolicyInstancesByPolicy, omit this value.voidsetTrafficPolicyInstanceTypeMarker(RRType trafficPolicyInstanceTypeMarker) For the first request toListTrafficPolicyInstancesByPolicy, omit this value.voidsetTrafficPolicyInstanceTypeMarker(String trafficPolicyInstanceTypeMarker) For the first request toListTrafficPolicyInstancesByPolicy, omit this value.voidsetTrafficPolicyVersion(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
IsTruncatedin the previous response wastrue,HostedZoneIdMarkeris the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin the previous response wasfalse, omit this value.- Parameters:
hostedZoneIdMarker- For the first request toListTrafficPolicyInstancesByPolicy, omit this value.If the value of
IsTruncatedin the previous response wastrue,HostedZoneIdMarkeris the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin the previous response wasfalse, omit this value.
-
getHostedZoneIdMarker
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.If the value of
IsTruncatedin the previous response wastrue,HostedZoneIdMarkeris the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin the previous response wasfalse, omit this value.- Returns:
- For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.If the value of
IsTruncatedin the previous response wastrue,HostedZoneIdMarkeris the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin the previous response wasfalse, omit this value.
-
withHostedZoneIdMarker
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.If the value of
IsTruncatedin the previous response wastrue,HostedZoneIdMarkeris the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin the previous response wasfalse, omit this value.- Parameters:
hostedZoneIdMarker- For the first request toListTrafficPolicyInstancesByPolicy, omit this value.If the value of
IsTruncatedin the previous response wastrue,HostedZoneIdMarkeris the ID of the hosted zone for the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin the previous response wasfalse, omit this value.- Parameters:
trafficPolicyInstanceNameMarker- For the first request toListTrafficPolicyInstancesByPolicy, omit this value.If the value of
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin the previous response wasfalse, omit this value.
-
getTrafficPolicyInstanceNameMarker
For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.If the value of
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin the previous response wasfalse, omit this value.- Returns:
- For the first request to
ListTrafficPolicyInstancesByPolicy, omit this value.If the value of
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin the previous response wasfalse, omit this value.- Parameters:
trafficPolicyInstanceNameMarker- For the first request toListTrafficPolicyInstancesByPolicy, omit this value.If the value of
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceNameMarkeris the name of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin the previous response wasfalse, there are no more traffic policy instances to get for this hosted zone.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin 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
IsTruncatedin the previous response wastrue,TrafficPolicyInstanceTypeMarkeris the DNS type of the first traffic policy instance in the next group ofMaxItemstraffic policy instances.If the value of
IsTruncatedin 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
MaxItemstraffic policy instances, the value of theIsTruncatedelement in the response istrue, and the values ofHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerrepresent the first traffic policy instance in the next group ofMaxItemstraffic 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 thanMaxItemstraffic policy instances, the value of theIsTruncatedelement in the response istrue, and the values ofHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerrepresent the first traffic policy instance in the next group ofMaxItemstraffic 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
MaxItemstraffic policy instances, the value of theIsTruncatedelement in the response istrue, and the values ofHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerrepresent the first traffic policy instance in the next group ofMaxItemstraffic 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
MaxItemstraffic policy instances, the value of theIsTruncatedelement in the response istrue, and the values ofHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerrepresent the first traffic policy instance in the next group ofMaxItemstraffic 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
MaxItemstraffic policy instances, the value of theIsTruncatedelement in the response istrue, and the values ofHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerrepresent the first traffic policy instance in the next group ofMaxItemstraffic 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 thanMaxItemstraffic policy instances, the value of theIsTruncatedelement in the response istrue, and the values ofHostedZoneIdMarker,TrafficPolicyInstanceNameMarker, andTrafficPolicyInstanceTypeMarkerrepresent the first traffic policy instance in the next group ofMaxItemstraffic 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:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-