Interface CreateVpcAssociationAuthorizationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateVpcAssociationAuthorizationResponse.Builder,,CreateVpcAssociationAuthorizationResponse> Route53Response.Builder,SdkBuilder<CreateVpcAssociationAuthorizationResponse.Builder,,CreateVpcAssociationAuthorizationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateVpcAssociationAuthorizationResponse
public static interface CreateVpcAssociationAuthorizationResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<CreateVpcAssociationAuthorizationResponse.Builder,CreateVpcAssociationAuthorizationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhostedZoneId(String hostedZoneId) The ID of the hosted zone that you authorized associating a VPC with.vpc(Consumer<VPC.Builder> vpc) The VPC that you authorized associating with a hosted zone.The VPC that you authorized associating with a 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
hostedZoneId
The ID of the hosted zone that you authorized associating a VPC with.
- Parameters:
hostedZoneId- The ID of the hosted zone that you authorized associating a VPC with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
The VPC that you authorized associating with a hosted zone.
- Parameters:
vpc- The VPC that you authorized associating with a hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
The VPC that you authorized associating with a 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 tovpc(VPC).- Parameters:
vpc- 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:
-