Interface ListVpcAssociationAuthorizationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListVpcAssociationAuthorizationsResponse.Builder,
,ListVpcAssociationAuthorizationsResponse> Route53Response.Builder
,SdkBuilder<ListVpcAssociationAuthorizationsResponse.Builder,
,ListVpcAssociationAuthorizationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListVpcAssociationAuthorizationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionhostedZoneId
(String hostedZoneId) The ID of the hosted zone that you can associate the listed VPCs with.When the response includes aNextToken
element, there are more VPCs that can be associated with the specified hosted zone.vpCs
(Collection<VPC> vpCs) The list of VPCs that are authorized to be associated with the specified hosted zone.vpCs
(Consumer<VPC.Builder>... vpCs) The list of VPCs that are authorized to be associated with the specified hosted zone.The list of VPCs that are authorized to be associated with the specified hosted zone.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
-
hostedZoneId
The ID of the hosted zone that you can associate the listed VPCs with.
- Parameters:
hostedZoneId
- The ID of the hosted zone that you can associate the listed VPCs with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
When the response includes a
NextToken
element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit anotherListVPCAssociationAuthorizations
request, and include the value of theNextToken
element from the response in thenexttoken
request parameter.- Parameters:
nextToken
- When the response includes aNextToken
element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit anotherListVPCAssociationAuthorizations
request, and include the value of theNextToken
element from the response in thenexttoken
request parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpCs
The list of VPCs that are authorized to be associated with the specified hosted zone.
- Parameters:
vpCs
- The list of VPCs that are authorized to be associated with the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpCs
The list of VPCs that are authorized to be associated with the specified hosted zone.
- Parameters:
vpCs
- The list of VPCs that are authorized to be associated with the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpCs
The list of VPCs that are authorized to be associated with the specified hosted zone.
This is a convenience method that creates an instance of theVPC.Builder
avoiding the need to create one manually viaVPC.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpCs(List<VPC>)
.- Parameters:
vpCs
- a consumer that will call methods onVPC.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-