public static interface CreateVpcPeeringConnectionRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateVpcPeeringConnectionRequest.Builder,CreateVpcPeeringConnectionRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateVpcPeeringConnectionRequest.Builder peerOwnerId(String peerOwnerId)
The Amazon Web Services account ID of the owner of the accepter VPC.
Default: Your Amazon Web Services account ID
peerOwnerId - The Amazon Web Services account ID of the owner of the accepter VPC.
Default: Your Amazon Web Services 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.BuilderCreateVpcPeeringConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.