public static interface CreateVpcPeeringConnectionResponse.Builder extends Ec2Response.Builder, 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
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateVpcPeeringConnectionResponse.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 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.Builder
vpcPeeringConnection(VpcPeeringConnection)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.