@Generated(value="software.amazon.awssdk:codegen") public class ListResourceRecordSetsResponse extends Route53Response implements ToCopyableBuilder<ListResourceRecordSetsResponse.Builder,ListResourceRecordSetsResponse>
A complex type that contains list information for the resource record set.
Modifier and Type | Class and Description |
---|---|
static interface |
ListResourceRecordSetsResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static ListResourceRecordSetsResponse.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 more resource record sets remain to be listed.
|
String |
maxItems()
The maximum number of records you requested.
|
String |
nextRecordIdentifier()
Weighted, latency, geolocation, and failover resource record sets only: If results were truncated for a
given DNS name and type, the value of
SetIdentifier for the next resource record set that has the
current DNS name and type. |
String |
nextRecordName()
If the results were truncated, the name of the next record in the list.
|
RRType |
nextRecordType()
If the results were truncated, the type of the next record in the list.
|
String |
nextRecordTypeString()
If the results were truncated, the type of the next record in the list.
|
List<ResourceRecordSet> |
resourceRecordSets()
Information about multiple resource record sets.
|
static Class<? extends ListResourceRecordSetsResponse.Builder> |
serializableBuilderClass() |
ListResourceRecordSetsResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<ResourceRecordSet> resourceRecordSets()
Information about multiple resource record sets.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Boolean isTruncated()
A flag that indicates whether more resource record sets remain to be listed. If your results were truncated, you
can make a follow-up pagination request by using the NextRecordName
element.
NextRecordName
element.public String nextRecordName()
If the results were truncated, the name of the next record in the list.
This element is present only if IsTruncated
is true.
This element is present only if IsTruncated
is true.
public RRType nextRecordType()
If the results were truncated, the type of the next record in the list.
This element is present only if IsTruncated
is true.
If the service returns an enum value that is not available in the current SDK version, nextRecordType
will return RRType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
nextRecordTypeString()
.
This element is present only if IsTruncated
is true.
RRType
public String nextRecordTypeString()
If the results were truncated, the type of the next record in the list.
This element is present only if IsTruncated
is true.
If the service returns an enum value that is not available in the current SDK version, nextRecordType
will return RRType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
nextRecordTypeString()
.
This element is present only if IsTruncated
is true.
RRType
public String nextRecordIdentifier()
Weighted, latency, geolocation, and failover resource record sets only: If results were truncated for a
given DNS name and type, the value of SetIdentifier
for the next resource record set that has the
current DNS name and type.
SetIdentifier
for the next resource record set
that has the current DNS name and type.public String maxItems()
The maximum number of records you requested.
public ListResourceRecordSetsResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListResourceRecordSetsResponse.Builder,ListResourceRecordSetsResponse>
toBuilder
in class AwsResponse
public static ListResourceRecordSetsResponse.Builder builder()
public static Class<? extends ListResourceRecordSetsResponse.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.