@Generated(value="software.amazon.awssdk:codegen") public final class ListTrafficPolicyInstancesResponse extends Route53Response implements ToCopyableBuilder<ListTrafficPolicyInstancesResponse.Builder,ListTrafficPolicyInstancesResponse>
A complex type that contains the response information for the request.
Modifier and Type | Class and Description |
---|---|
static interface |
ListTrafficPolicyInstancesResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static ListTrafficPolicyInstancesResponse.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
SdkResponse . |
int |
hashCode() |
String |
hostedZoneIdMarker()
If
IsTruncated is true , HostedZoneIdMarker is the ID of the hosted zone of
the first traffic policy instance that Amazon Route 53 will return if you submit another
ListTrafficPolicyInstances request. |
Boolean |
isTruncated()
A flag that indicates whether there are more traffic policy instances to be listed.
|
String |
maxItems()
The value that you specified for the
MaxItems parameter in the call to
ListTrafficPolicyInstances that produced the current response. |
static Class<? extends ListTrafficPolicyInstancesResponse.Builder> |
serializableBuilderClass() |
ListTrafficPolicyInstancesResponse.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
IsTruncated is true , TrafficPolicyInstanceNameMarker is the name of the
first traffic policy instance that Amazon Route 53 will return if you submit another
ListTrafficPolicyInstances request. |
List<TrafficPolicyInstance> |
trafficPolicyInstances()
A list that contains one
TrafficPolicyInstance element for each traffic policy instance that matches
the elements in the request. |
RRType |
trafficPolicyInstanceTypeMarker()
If
IsTruncated is true , TrafficPolicyInstanceTypeMarker is the DNS type of
the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will
return if you submit another ListTrafficPolicyInstances request. |
String |
trafficPolicyInstanceTypeMarkerAsString()
If
IsTruncated is true , TrafficPolicyInstanceTypeMarker is the DNS type of
the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will
return if you submit another ListTrafficPolicyInstances request. |
sdkHttpResponse
copy
public List<TrafficPolicyInstance> trafficPolicyInstances()
A list that contains one TrafficPolicyInstance
element for each traffic policy instance that matches
the elements in the request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
TrafficPolicyInstance
element for each traffic policy instance that
matches the elements in the request.public String hostedZoneIdMarker()
If IsTruncated
is true
, HostedZoneIdMarker
is the ID of the hosted zone of
the first traffic policy instance that Amazon Route 53 will return if you submit another
ListTrafficPolicyInstances
request.
IsTruncated
is true
, HostedZoneIdMarker
is the ID of the hosted
zone of the first traffic policy instance that Amazon Route 53 will return if you submit another
ListTrafficPolicyInstances
request.public String trafficPolicyInstanceNameMarker()
If IsTruncated
is true
, TrafficPolicyInstanceNameMarker
is the name of the
first traffic policy instance that Amazon Route 53 will return if you submit another
ListTrafficPolicyInstances
request.
IsTruncated
is true
, TrafficPolicyInstanceNameMarker
is the
name of the first traffic policy instance that Amazon Route 53 will return if you submit another
ListTrafficPolicyInstances
request.public RRType trafficPolicyInstanceTypeMarker()
If IsTruncated
is true
, TrafficPolicyInstanceTypeMarker
is the DNS type of
the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will
return if you submit another ListTrafficPolicyInstances
request.
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
is true
, TrafficPolicyInstanceTypeMarker
is the DNS
type of the resource record sets that are associated with the first traffic policy instance that Amazon
Route 53 will return if you submit another ListTrafficPolicyInstances
request.RRType
public String trafficPolicyInstanceTypeMarkerAsString()
If IsTruncated
is true
, TrafficPolicyInstanceTypeMarker
is the DNS type of
the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will
return if you submit another ListTrafficPolicyInstances
request.
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
is true
, TrafficPolicyInstanceTypeMarker
is the DNS
type of the resource record sets that are associated with the first traffic policy instance that Amazon
Route 53 will return if you submit another ListTrafficPolicyInstances
request.RRType
public Boolean isTruncated()
A flag that indicates whether there are more traffic policy instances to be listed. If the response was
truncated, you can get more traffic policy instances by calling ListTrafficPolicyInstances
again and
specifying the values of the HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and
TrafficPolicyInstanceTypeMarker
in the corresponding request parameters.
ListTrafficPolicyInstances
again and specifying the values of the HostedZoneIdMarker
,
TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
in the
corresponding request parameters.public String maxItems()
The value that you specified for the MaxItems
parameter in the call to
ListTrafficPolicyInstances
that produced the current response.
MaxItems
parameter in the call to
ListTrafficPolicyInstances
that produced the current response.public ListTrafficPolicyInstancesResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListTrafficPolicyInstancesResponse.Builder,ListTrafficPolicyInstancesResponse>
toBuilder
in class AwsResponse
public static ListTrafficPolicyInstancesResponse.Builder builder()
public static Class<? extends ListTrafficPolicyInstancesResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. 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 SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
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.