Class ListHostedZonesByNameRequest
- All Implemented Interfaces:
SdkPojo,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 -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final 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.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) Used to retrieve the value of a field from any class that extendsSdkRequest.final inthashCode()final String(Optional) For your first request toListHostedZonesByName, do not include thehostedzoneidparameter.final StringmaxItems()The maximum number of hosted zones to be included in the response body for this request.static Class<? extends ListHostedZonesByNameRequest.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
(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
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ListHostedZonesByNameRequest.Builder,ListHostedZonesByNameRequest> - Specified by:
toBuilderin classRoute53Request- Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
Description copied from class:SdkRequestUsed to retrieve the value of a field from any class that extendsSdkRequest. 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, theSdkRequest.getValueForField(String, Class)method will again be available.- Overrides:
getValueForFieldin classSdkRequest- Parameters:
fieldName- The name of the member to be retrieved.clazz- The class to cast the returned object to.- Returns:
- Optional containing the casted return value
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-