@Stability(value=Stable) public static final class CfnVPCPeeringConnectionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnVPCPeeringConnectionProps>
CfnVPCPeeringConnectionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnVPCPeeringConnectionProps |
build()
Builds the configured instance.
|
CfnVPCPeeringConnectionProps.Builder |
peerOwnerId(String peerOwnerId)
Sets the value of
CfnVPCPeeringConnectionProps.getPeerOwnerId() |
CfnVPCPeeringConnectionProps.Builder |
peerRegion(String peerRegion)
Sets the value of
CfnVPCPeeringConnectionProps.getPeerRegion() |
CfnVPCPeeringConnectionProps.Builder |
peerRoleArn(String peerRoleArn)
Sets the value of
CfnVPCPeeringConnectionProps.getPeerRoleArn() |
CfnVPCPeeringConnectionProps.Builder |
peerVpcId(String peerVpcId)
Sets the value of
CfnVPCPeeringConnectionProps.getPeerVpcId() |
CfnVPCPeeringConnectionProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnVPCPeeringConnectionProps.getTags() |
CfnVPCPeeringConnectionProps.Builder |
vpcId(String vpcId)
Sets the value of
CfnVPCPeeringConnectionProps.getVpcId() |
@Stability(value=Stable) public CfnVPCPeeringConnectionProps.Builder peerVpcId(String peerVpcId)
CfnVPCPeeringConnectionProps.getPeerVpcId()peerVpcId - The ID of the VPC with which you are creating the VPC peering connection. This parameter is required.
You must specify this parameter in the request.this@Stability(value=Stable) public CfnVPCPeeringConnectionProps.Builder vpcId(String vpcId)
CfnVPCPeeringConnectionProps.getVpcId()vpcId - The ID of the VPC. This parameter is required.this@Stability(value=Stable) public CfnVPCPeeringConnectionProps.Builder peerOwnerId(String peerOwnerId)
CfnVPCPeeringConnectionProps.getPeerOwnerId()peerOwnerId - The AWS account ID of the owner of the accepter VPC.
Default: Your AWS account IDthis@Stability(value=Stable) public CfnVPCPeeringConnectionProps.Builder peerRegion(String peerRegion)
CfnVPCPeeringConnectionProps.getPeerRegion()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.this@Stability(value=Stable) public CfnVPCPeeringConnectionProps.Builder peerRoleArn(String peerRoleArn)
CfnVPCPeeringConnectionProps.getPeerRoleArn()peerRoleArn - The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
This is required when you are peering a VPC in a different AWS account.this@Stability(value=Stable) public CfnVPCPeeringConnectionProps.Builder tags(List<? extends CfnTag> tags)
CfnVPCPeeringConnectionProps.getTags()tags - Any tags assigned to the resource.this@Stability(value=Stable) public CfnVPCPeeringConnectionProps build()
build in interface software.amazon.jsii.Builder<CfnVPCPeeringConnectionProps>CfnVPCPeeringConnectionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.