public static interface CreateVpcPeeringConnectionRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateVpcPeeringConnectionRequest.Builder,CreateVpcPeeringConnectionRequest>
Modifier and Type | Method and Description |
---|---|
CreateVpcPeeringConnectionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateVpcPeeringConnectionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateVpcPeeringConnectionRequest.Builder |
peerOwnerId(String peerOwnerId)
The AWS account ID of the owner of the accepter VPC.
|
CreateVpcPeeringConnectionRequest.Builder |
peerRegion(String peerRegion)
The region code for the accepter VPC, if the accepter VPC is located in a region other than the region in
which you make the request.
|
CreateVpcPeeringConnectionRequest.Builder |
peerVpcId(String peerVpcId)
The ID of the VPC with which you are creating the VPC peering connection.
|
CreateVpcPeeringConnectionRequest.Builder |
vpcId(String vpcId)
The ID of the requester VPC.
|
build
overrideConfiguration
copy
applyMutation, build
CreateVpcPeeringConnectionRequest.Builder peerOwnerId(String peerOwnerId)
The AWS account ID of the owner of the accepter VPC.
Default: Your AWS account ID
peerOwnerId
- The AWS account ID of the owner of the accepter VPC.
Default: Your AWS account ID
CreateVpcPeeringConnectionRequest.Builder peerVpcId(String peerVpcId)
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
peerVpcId
- The ID of the VPC with which you are creating the VPC peering connection. You must specify this
parameter in the request.CreateVpcPeeringConnectionRequest.Builder vpcId(String vpcId)
The ID of the requester VPC. You must specify this parameter in the request.
vpcId
- The ID of the requester VPC. You must specify this parameter in the request.CreateVpcPeeringConnectionRequest.Builder peerRegion(String peerRegion)
The region code for the accepter VPC, if the accepter VPC is located in a region other than the region in which you make the request.
Default: The region in which you make the request.
peerRegion
- The region code for the accepter VPC, if the accepter VPC is located in a region other than the region
in which you make the request.
Default: The region in which you make the request.
CreateVpcPeeringConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateVpcPeeringConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.