Interface ListHostedZonesByVpcResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListHostedZonesByVpcResponse.Builder,
,ListHostedZonesByVpcResponse> Route53Response.Builder
,SdkBuilder<ListHostedZonesByVpcResponse.Builder,
,ListHostedZonesByVpcResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListHostedZonesByVpcResponse
-
Method Summary
Modifier and TypeMethodDescriptionhostedZoneSummaries
(Collection<HostedZoneSummary> hostedZoneSummaries) A list that contains oneHostedZoneSummary
element for each hosted zone that the specified Amazon VPC is associated with.hostedZoneSummaries
(Consumer<HostedZoneSummary.Builder>... hostedZoneSummaries) A list that contains oneHostedZoneSummary
element for each hosted zone that the specified Amazon VPC is associated with.hostedZoneSummaries
(HostedZoneSummary... hostedZoneSummaries) A list that contains oneHostedZoneSummary
element for each hosted zone that the specified Amazon VPC is associated with.The value that you specified forMaxItems
in the most recentListHostedZonesByVPC
request.The value that you will use forNextToken
in the nextListHostedZonesByVPC
request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
hostedZoneSummaries
ListHostedZonesByVpcResponse.Builder hostedZoneSummaries(Collection<HostedZoneSummary> hostedZoneSummaries) A list that contains one
HostedZoneSummary
element for each hosted zone that the specified Amazon VPC is associated with. EachHostedZoneSummary
element contains the hosted zone name and ID, and information about who owns the hosted zone.- Parameters:
hostedZoneSummaries
- A list that contains oneHostedZoneSummary
element for each hosted zone that the specified Amazon VPC is associated with. EachHostedZoneSummary
element contains the hosted zone name and ID, and information about who owns the hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostedZoneSummaries
A list that contains one
HostedZoneSummary
element for each hosted zone that the specified Amazon VPC is associated with. EachHostedZoneSummary
element contains the hosted zone name and ID, and information about who owns the hosted zone.- Parameters:
hostedZoneSummaries
- A list that contains oneHostedZoneSummary
element for each hosted zone that the specified Amazon VPC is associated with. EachHostedZoneSummary
element contains the hosted zone name and ID, and information about who owns the hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostedZoneSummaries
ListHostedZonesByVpcResponse.Builder hostedZoneSummaries(Consumer<HostedZoneSummary.Builder>... hostedZoneSummaries) A list that contains one
This is a convenience method that creates an instance of theHostedZoneSummary
element for each hosted zone that the specified Amazon VPC is associated with. EachHostedZoneSummary
element contains the hosted zone name and ID, and information about who owns the hosted zone.HostedZoneSummary.Builder
avoiding the need to create one manually viaHostedZoneSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohostedZoneSummaries(List<HostedZoneSummary>)
.- Parameters:
hostedZoneSummaries
- a consumer that will call methods onHostedZoneSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxItems
The value that you specified for
MaxItems
in the most recentListHostedZonesByVPC
request.- Parameters:
maxItems
- The value that you specified forMaxItems
in the most recentListHostedZonesByVPC
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The value that you will use for
NextToken
in the nextListHostedZonesByVPC
request.- Parameters:
nextToken
- The value that you will use forNextToken
in the nextListHostedZonesByVPC
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-