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 aNextTokenelement, 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
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, sdkFieldNameToField, sdkFieldsMethods 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
NextTokenelement, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit anotherListVPCAssociationAuthorizationsrequest, and include the value of theNextTokenelement from the response in thenexttokenrequest parameter.- Parameters:
nextToken- When the response includes aNextTokenelement, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit anotherListVPCAssociationAuthorizationsrequest, and include the value of theNextTokenelement from the response in thenexttokenrequest 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.Builderavoiding the need to create one manually viaVPC.builder().When the
Consumercompletes,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:
-