public static interface AcceptVpcPeeringConnectionResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AcceptVpcPeeringConnectionResponse.Builder,AcceptVpcPeeringConnectionResponse>
Modifier and Type | Method and Description |
---|---|
default AcceptVpcPeeringConnectionResponse.Builder |
vpcPeeringConnection(Consumer<VpcPeeringConnection.Builder> vpcPeeringConnection)
Information about the VPC peering connection.
|
AcceptVpcPeeringConnectionResponse.Builder |
vpcPeeringConnection(VpcPeeringConnection vpcPeeringConnection)
Information about the VPC peering connection.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
AcceptVpcPeeringConnectionResponse.Builder vpcPeeringConnection(VpcPeeringConnection vpcPeeringConnection)
Information about the VPC peering connection.
vpcPeeringConnection
- Information about the VPC peering connection.default AcceptVpcPeeringConnectionResponse.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.Builder
vpcPeeringConnection(VpcPeeringConnection)
Copyright © 2023. All rights reserved.