@Generated(value="software.amazon.awssdk:codegen") public class ListHostedZonesByNameResponse extends Route53Response implements ToCopyableBuilder<ListHostedZonesByNameResponse.Builder,ListHostedZonesByNameResponse>
A complex type that contains the response information for the request.
Modifier and Type | Class and Description |
---|---|
static interface |
ListHostedZonesByNameResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static ListHostedZonesByNameResponse.Builder |
builder() |
String |
dnsName()
For the second and subsequent calls to
ListHostedZonesByName , DNSName is the value that
you specified for the dnsname parameter in the request that produced the current response. |
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 |
hostedZoneId()
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
|
List<HostedZone> |
hostedZones()
A complex type that contains general information about the hosted zone.
|
Boolean |
isTruncated()
A flag that indicates whether there are more hosted zones to be listed.
|
String |
maxItems()
The value that you specified for the
maxitems parameter in the call to
ListHostedZonesByName that produced the current response. |
String |
nextDNSName()
If
IsTruncated is true, the value of NextDNSName is the name of the first hosted zone
in the next group of maxitems hosted zones. |
String |
nextHostedZoneId()
If
IsTruncated is true , the value of NextHostedZoneId identifies the first
hosted zone in the next group of maxitems hosted zones. |
static Class<? extends ListHostedZonesByNameResponse.Builder> |
serializableBuilderClass() |
ListHostedZonesByNameResponse.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<HostedZone> hostedZones()
A complex type that contains general information about the hosted zone.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String dnsName()
For the second and subsequent calls to ListHostedZonesByName
, DNSName
is the value that
you specified for the dnsname
parameter in the request that produced the current response.
ListHostedZonesByName
, DNSName
is the
value that you specified for the dnsname
parameter in the request that produced the current
response.public String hostedZoneId()
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
public Boolean isTruncated()
A flag that indicates whether there are more hosted zones to be listed. If the response was truncated, you can
get the next group of maxitems
hosted zones by calling ListHostedZonesByName
again and
specifying the values of NextDNSName
and NextHostedZoneId
elements in the
dnsname
and hostedzoneid
parameters.
maxitems
hosted zones by calling
ListHostedZonesByName
again and specifying the values of NextDNSName
and
NextHostedZoneId
elements in the dnsname
and hostedzoneid
parameters.public String nextDNSName()
If IsTruncated
is true, the value of NextDNSName
is the name of the first hosted zone
in the next group of maxitems
hosted zones. Call ListHostedZonesByName
again and
specify the value of NextDNSName
and NextHostedZoneId
in the dnsname
and
hostedzoneid
parameters, respectively.
This element is present only if IsTruncated
is true
.
IsTruncated
is true, the value of NextDNSName
is the name of the first
hosted zone in the next group of maxitems
hosted zones. Call
ListHostedZonesByName
again and specify the value of NextDNSName
and
NextHostedZoneId
in the dnsname
and hostedzoneid
parameters,
respectively.
This element is present only if IsTruncated
is true
.
public String nextHostedZoneId()
If IsTruncated
is true
, the value of NextHostedZoneId
identifies the first
hosted zone in the next group of maxitems
hosted zones. Call ListHostedZonesByName
again and specify the value of NextDNSName
and NextHostedZoneId
in the
dnsname
and hostedzoneid
parameters, respectively.
This element is present only if IsTruncated
is true
.
IsTruncated
is true
, the value of NextHostedZoneId
identifies
the first hosted zone in the next group of maxitems
hosted zones. Call
ListHostedZonesByName
again and specify the value of NextDNSName
and
NextHostedZoneId
in the dnsname
and hostedzoneid
parameters,
respectively.
This element is present only if IsTruncated
is true
.
public String maxItems()
The value that you specified for the maxitems
parameter in the call to
ListHostedZonesByName
that produced the current response.
maxitems
parameter in the call to
ListHostedZonesByName
that produced the current response.public ListHostedZonesByNameResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListHostedZonesByNameResponse.Builder,ListHostedZonesByNameResponse>
toBuilder
in class AwsResponse
public static ListHostedZonesByNameResponse.Builder builder()
public static Class<? extends ListHostedZonesByNameResponse.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.