@Generated(value="software.amazon.awssdk:codegen") public final class ListTrafficPolicyInstancesByHostedZoneResponse extends Route53Response implements ToCopyableBuilder<ListTrafficPolicyInstancesByHostedZoneResponse.Builder,ListTrafficPolicyInstancesByHostedZoneResponse>
A complex type that contains the response information for the request.
Modifier and Type | Class and Description |
---|---|
static interface |
ListTrafficPolicyInstancesByHostedZoneResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static ListTrafficPolicyInstancesByHostedZoneResponse.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() |
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
ListTrafficPolicyInstancesByHostedZone request that produced the current response. |
static Class<? extends ListTrafficPolicyInstancesByHostedZoneResponse.Builder> |
serializableBuilderClass() |
ListTrafficPolicyInstancesByHostedZoneResponse.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 in the next group of traffic policy instances. |
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 in the next group of traffic policy
instances. |
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 in the next group of traffic policy
instances. |
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 trafficPolicyInstanceNameMarker()
If IsTruncated
is true
, TrafficPolicyInstanceNameMarker
is the name of the
first traffic policy instance in the next group of traffic policy instances.
IsTruncated
is true
, TrafficPolicyInstanceNameMarker
is the
name of the first traffic policy instance in the next group of traffic policy instances.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 in the next group of traffic policy
instances.
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 in the next group of
traffic policy instances.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 in the next group of traffic policy
instances.
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 in the next group of
traffic policy instances.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 the next group of traffic policy instances by submitting another
ListTrafficPolicyInstancesByHostedZone
request and specifying the values of
HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and
TrafficPolicyInstanceTypeMarker
in the corresponding request parameters.
ListTrafficPolicyInstancesByHostedZone
request and specifying the values of
HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and
TrafficPolicyInstanceTypeMarker
in the corresponding request parameters.public String maxItems()
The value that you specified for the MaxItems
parameter in the
ListTrafficPolicyInstancesByHostedZone
request that produced the current response.
MaxItems
parameter in the
ListTrafficPolicyInstancesByHostedZone
request that produced the current response.public ListTrafficPolicyInstancesByHostedZoneResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListTrafficPolicyInstancesByHostedZoneResponse.Builder,ListTrafficPolicyInstancesByHostedZoneResponse>
toBuilder
in class AwsResponse
public static ListTrafficPolicyInstancesByHostedZoneResponse.Builder builder()
public static Class<? extends ListTrafficPolicyInstancesByHostedZoneResponse.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.