Interface ListHostedZonesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListHostedZonesResponse.Builder,,ListHostedZonesResponse> Route53Response.Builder,SdkBuilder<ListHostedZonesResponse.Builder,,ListHostedZonesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListHostedZonesResponse
-
Method Summary
Modifier and TypeMethodDescriptionhostedZones(Collection<HostedZone> hostedZones) A complex type that contains general information about the hosted zone.hostedZones(Consumer<HostedZone.Builder>... hostedZones) A complex type that contains general information about the hosted zone.hostedZones(HostedZone... hostedZones) A complex type that contains general information about the hosted zone.isTruncated(Boolean isTruncated) A flag indicating whether there are more hosted zones to be listed.For the second and subsequent calls toListHostedZones,Markeris the value that you specified for themarkerparameter in the request that produced the current response.The value that you specified for themaxitemsparameter in the call toListHostedZonesthat produced the current response.nextMarker(String nextMarker) IfIsTruncatedistrue, the value ofNextMarkeridentifies the first hosted zone in the next group of hosted zones.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
hostedZones
A complex type that contains general information about the hosted zone.
- Parameters:
hostedZones- A complex type that contains general information about the hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostedZones
A complex type that contains general information about the hosted zone.
- Parameters:
hostedZones- A complex type that contains general information about the hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostedZones
A complex type that contains general information about the hosted zone.
This is a convenience method that creates an instance of theHostedZone.Builderavoiding the need to create one manually viaHostedZone.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohostedZones(List<HostedZone>).- Parameters:
hostedZones- a consumer that will call methods onHostedZone.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
For the second and subsequent calls to
ListHostedZones,Markeris the value that you specified for themarkerparameter in the request that produced the current response.- Parameters:
marker- For the second and subsequent calls toListHostedZones,Markeris the value that you specified for themarkerparameter in the request that produced the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isTruncated
A flag indicating whether there are more hosted zones to be listed. If the response was truncated, you can get more hosted zones by submitting another
ListHostedZonesrequest and specifying the value ofNextMarkerin themarkerparameter.- Parameters:
isTruncated- A flag indicating whether there are more hosted zones to be listed. If the response was truncated, you can get more hosted zones by submitting anotherListHostedZonesrequest and specifying the value ofNextMarkerin themarkerparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextMarker
If
IsTruncatedistrue, the value ofNextMarkeridentifies the first hosted zone in the next group of hosted zones. Submit anotherListHostedZonesrequest, and specify the value ofNextMarkerfrom the response in themarkerparameter.This element is present only if
IsTruncatedistrue.- Parameters:
nextMarker- IfIsTruncatedistrue, the value ofNextMarkeridentifies the first hosted zone in the next group of hosted zones. Submit anotherListHostedZonesrequest, and specify the value ofNextMarkerfrom the response in themarkerparameter.This element is present only if
IsTruncatedistrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
The value that you specified for the
maxitemsparameter in the call toListHostedZonesthat produced the current response.- Parameters:
maxItems- The value that you specified for themaxitemsparameter in the call toListHostedZonesthat produced the current response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-