Class ListHostedZonesByNameRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.route53.model.Route53Request
-
- software.amazon.awssdk.services.route53.model.ListHostedZonesByNameRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListHostedZonesByNameRequest.Builder,ListHostedZonesByNameRequest>
@Generated("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 Amazon Web Services account in ASCII order by domain name.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListHostedZonesByNameRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListHostedZonesByNameRequest.Builderbuilder()StringdnsName()(Optional) For your first request toListHostedZonesByName, include thednsnameparameter only if you want to specify the name of the first hosted zone in the response.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhostedZoneId()(Optional) For your first request toListHostedZonesByName, do not include thehostedzoneidparameter.StringmaxItems()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dnsName
public final String dnsName()
(Optional) For your first request to
ListHostedZonesByName, include thednsnameparameter only if you want to specify the name of the first hosted zone in the response. If you don't include thednsnameparameter, Amazon Route 53 returns all of the hosted zones that were created by the current Amazon Web Services account, in ASCII order. For subsequent requests, include bothdnsnameandhostedzoneidparameters. Fordnsname, specify the value ofNextDNSNamefrom the previous response.- Returns:
- (Optional) For your first request to
ListHostedZonesByName, include thednsnameparameter only if you want to specify the name of the first hosted zone in the response. If you don't include thednsnameparameter, Amazon Route 53 returns all of the hosted zones that were created by the current Amazon Web Services account, in ASCII order. For subsequent requests, include bothdnsnameandhostedzoneidparameters. Fordnsname, specify the value ofNextDNSNamefrom the previous response.
-
hostedZoneId
public final String hostedZoneId()
(Optional) For your first request to
ListHostedZonesByName, do not include thehostedzoneidparameter.If you have more hosted zones than the value of
maxitems,ListHostedZonesByNamereturns only the firstmaxitemshosted zones. To get the next group ofmaxitemshosted zones, submit another request toListHostedZonesByNameand include bothdnsnameandhostedzoneidparameters. For the value ofhostedzoneid, specify the value of theNextHostedZoneIdelement from the previous response.- Returns:
- (Optional) For your first request to
ListHostedZonesByName, do not include thehostedzoneidparameter.If you have more hosted zones than the value of
maxitems,ListHostedZonesByNamereturns only the firstmaxitemshosted zones. To get the next group ofmaxitemshosted zones, submit another request toListHostedZonesByNameand include bothdnsnameandhostedzoneidparameters. For the value ofhostedzoneid, specify the value of theNextHostedZoneIdelement from the previous response.
-
maxItems
public final String maxItems()
The maximum number of hosted zones to be included in the response body for this request. If you have more than
maxitemshosted zones, then the value of theIsTruncatedelement in the response is true, and the values ofNextDNSNameandNextHostedZoneIdspecify the first hosted zone in the next group ofmaxitemshosted zones.- Returns:
- The maximum number of hosted zones to be included in the response body for this request. If you have more
than
maxitemshosted zones, then the value of theIsTruncatedelement in the response is true, and the values ofNextDNSNameandNextHostedZoneIdspecify the first hosted zone in the next group ofmaxitemshosted zones.
-
toBuilder
public ListHostedZonesByNameRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListHostedZonesByNameRequest.Builder,ListHostedZonesByNameRequest>- Specified by:
toBuilderin classRoute53Request
-
builder
public static ListHostedZonesByNameRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListHostedZonesByNameRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-