public static interface CreateVpcPeeringConnectionRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateVpcPeeringConnectionRequest.Builder,CreateVpcPeeringConnectionRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
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 tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the peering connection.
tagSpecifications
- The tags to assign to the peering connection.CreateVpcPeeringConnectionRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the peering connection.
tagSpecifications
- The tags to assign to the peering connection.CreateVpcPeeringConnectionRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to assign to the peering connection.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #tagSpecifications(List)
.tagSpecifications
- a consumer that will call methods on List.Builder
#tagSpecifications(List)
CreateVpcPeeringConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateVpcPeeringConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.