@Generated(value="software.amazon.awssdk:codegen") public final class ListHostedZonesByNameRequest extends Route53Request implements ToCopyableBuilder<ListHostedZonesByNameRequest.Builder,ListHostedZonesByNameRequest>
Retrieves a list of the public and private hosted zones that are associated with the current AWS account in ASCII order by domain name.
Modifier and Type | Class and Description |
---|---|
static interface |
ListHostedZonesByNameRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListHostedZonesByNameRequest.Builder |
builder() |
String |
dnsName()
(Optional) For your first request to
ListHostedZonesByName , include the dnsname
parameter only if you want to specify the name of the first hosted zone in the 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
SdkRequest . |
int |
hashCode() |
String |
hostedZoneId()
(Optional) For your first request to
ListHostedZonesByName , do not include the
hostedzoneid parameter. |
String |
maxItems()
The maximum number of hosted zones to be included in the response body for this request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListHostedZonesByNameRequest.Builder> |
serializableBuilderClass() |
ListHostedZonesByNameRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String dnsName()
(Optional) For your first request to ListHostedZonesByName
, include the dnsname
parameter only if you want to specify the name of the first hosted zone in the response. If you don't include the
dnsname
parameter, Amazon Route 53 returns all of the hosted zones that were created by the current
AWS account, in ASCII order. For subsequent requests, include both dnsname
and
hostedzoneid
parameters. For dnsname
, specify the value of NextDNSName
from the previous response.
ListHostedZonesByName
, include the dnsname
parameter only if you want to specify the name of the first hosted zone in the response. If you don't
include the dnsname
parameter, Amazon Route 53 returns all of the hosted zones that were
created by the current AWS account, in ASCII order. For subsequent requests, include both
dnsname
and hostedzoneid
parameters. For dnsname
, specify the
value of NextDNSName
from the previous response.public String hostedZoneId()
(Optional) For your first request to ListHostedZonesByName
, do not include the
hostedzoneid
parameter.
If you have more hosted zones than the value of maxitems
, ListHostedZonesByName
returns
only the first maxitems
hosted zones. To get the next group of maxitems
hosted zones,
submit another request to ListHostedZonesByName
and include both dnsname
and
hostedzoneid
parameters. For the value of hostedzoneid
, specify the value of the
NextHostedZoneId
element from the previous response.
ListHostedZonesByName
, do not include the
hostedzoneid
parameter.
If you have more hosted zones than the value of maxitems
, ListHostedZonesByName
returns only the first maxitems
hosted zones. To get the next group of maxitems
hosted zones, submit another request to ListHostedZonesByName
and include both
dnsname
and hostedzoneid
parameters. For the value of hostedzoneid
, specify the value of the NextHostedZoneId
element from the previous response.
public String maxItems()
The maximum number of hosted zones to be included in the response body for this request. If you have more than
maxitems
hosted zones, then the value of the IsTruncated
element in the response is
true, and the values of NextDNSName
and NextHostedZoneId
specify the first hosted zone
in the next group of maxitems
hosted zones.
maxitems
hosted zones, then the value of the IsTruncated
element in the
response is true, and the values of NextDNSName
and NextHostedZoneId
specify
the first hosted zone in the next group of maxitems
hosted zones.public ListHostedZonesByNameRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListHostedZonesByNameRequest.Builder,ListHostedZonesByNameRequest>
toBuilder
in class Route53Request
public static ListHostedZonesByNameRequest.Builder builder()
public static Class<? extends ListHostedZonesByNameRequest.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.