public static interface CreateVpcPeeringConnectionResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateVpcPeeringConnectionResponse.Builder,CreateVpcPeeringConnectionResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateVpcPeeringConnectionResponse.Builder |
vpcPeeringConnection(Consumer<VpcPeeringConnection.Builder> vpcPeeringConnection)
Information about the VPC peering connection.
|
CreateVpcPeeringConnectionResponse.Builder |
vpcPeeringConnection(VpcPeeringConnection vpcPeeringConnection)
Information about the VPC peering connection.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateVpcPeeringConnectionResponse.Builder vpcPeeringConnection(VpcPeeringConnection vpcPeeringConnection)
Information about the VPC peering connection.
vpcPeeringConnection - Information about the VPC peering connection.default CreateVpcPeeringConnectionResponse.Builder vpcPeeringConnection(Consumer<VpcPeeringConnection.Builder> vpcPeeringConnection)
Information about the VPC peering connection.
This is a convenience method that creates an instance of theVpcPeeringConnection.Builder avoiding
the need to create one manually via VpcPeeringConnection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to vpcPeeringConnection(VpcPeeringConnection).
vpcPeeringConnection - a consumer that will call methods on VpcPeeringConnection.BuildervpcPeeringConnection(VpcPeeringConnection)Copyright © 2023. All rights reserved.