@Generated(value="software.amazon.awssdk:codegen") public final class ListTrafficPolicyInstancesByHostedZoneRequest extends Route53Request implements ToCopyableBuilder<ListTrafficPolicyInstancesByHostedZoneRequest.Builder,ListTrafficPolicyInstancesByHostedZoneRequest>
A request for the traffic policy instances that you created in a specified hosted zone.
Modifier and Type | Class and Description |
---|---|
static interface |
ListTrafficPolicyInstancesByHostedZoneRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListTrafficPolicyInstancesByHostedZoneRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
hostedZoneId()
The ID of the hosted zone that you want to list traffic policy instances for.
|
String |
maxItems()
The maximum number of traffic policy instances to be included in the response body for this request.
|
static Class<? extends ListTrafficPolicyInstancesByHostedZoneRequest.Builder> |
serializableBuilderClass() |
ListTrafficPolicyInstancesByHostedZoneRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
trafficPolicyInstanceNameMarker()
If the value of
IsTruncated in the previous response is true, you have more traffic policy
instances. |
RRType |
trafficPolicyInstanceTypeMarker()
If the value of
IsTruncated in the previous response is true, you have more traffic policy
instances. |
String |
trafficPolicyInstanceTypeMarkerAsString()
If the value of
IsTruncated in the previous response is true, you have more traffic policy
instances. |
overrideConfiguration
copy
public String hostedZoneId()
The ID of the hosted zone that you want to list traffic policy instances for.
public String trafficPolicyInstanceNameMarker()
If the value of IsTruncated
in the previous response is true, you have more traffic policy
instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request.
For the value of trafficpolicyinstancename
, specify the value of
TrafficPolicyInstanceNameMarker
from the previous response, which is the name of the first traffic
policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more
traffic policy instances to get.
IsTruncated
in the previous response is true, you have more traffic policy
instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancename
, specify the value of
TrafficPolicyInstanceNameMarker
from the previous response, which is the name of the first
traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no
more traffic policy instances to get.
public RRType trafficPolicyInstanceTypeMarker()
If the value of IsTruncated
in the previous response is true, you have more traffic policy
instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request.
For the value of trafficpolicyinstancetype
, specify the value of
TrafficPolicyInstanceTypeMarker
from the previous response, which is the type of the first traffic
policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more
traffic policy instances to get.
If the service returns an enum value that is not available in the current SDK version,
trafficPolicyInstanceTypeMarker
will return RRType.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from trafficPolicyInstanceTypeMarkerAsString()
.
IsTruncated
in the previous response is true, you have more traffic policy
instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancetype
, specify the value of
TrafficPolicyInstanceTypeMarker
from the previous response, which is the type of the first
traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no
more traffic policy instances to get.
RRType
public String trafficPolicyInstanceTypeMarkerAsString()
If the value of IsTruncated
in the previous response is true, you have more traffic policy
instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request.
For the value of trafficpolicyinstancetype
, specify the value of
TrafficPolicyInstanceTypeMarker
from the previous response, which is the type of the first traffic
policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more
traffic policy instances to get.
If the service returns an enum value that is not available in the current SDK version,
trafficPolicyInstanceTypeMarker
will return RRType.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from trafficPolicyInstanceTypeMarkerAsString()
.
IsTruncated
in the previous response is true, you have more traffic policy
instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancetype
, specify the value of
TrafficPolicyInstanceTypeMarker
from the previous response, which is the type of the first
traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no
more traffic policy instances to get.
RRType
public String 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 that Amazon Route 53 will return if you submit another request.
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 that Amazon
Route 53 will return if you submit another request.public ListTrafficPolicyInstancesByHostedZoneRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListTrafficPolicyInstancesByHostedZoneRequest.Builder,ListTrafficPolicyInstancesByHostedZoneRequest>
toBuilder
in class Route53Request
public static ListTrafficPolicyInstancesByHostedZoneRequest.Builder builder()
public static Class<? extends ListTrafficPolicyInstancesByHostedZoneRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.