@Stability(value=Stable) public static final class CfnTransitGatewayPeeringAttachmentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnTransitGatewayPeeringAttachmentProps>
CfnTransitGatewayPeeringAttachmentProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnTransitGatewayPeeringAttachmentProps |
build()
Builds the configured instance.
|
CfnTransitGatewayPeeringAttachmentProps.Builder |
peerAccountId(String peerAccountId)
Sets the value of
CfnTransitGatewayPeeringAttachmentProps.getPeerAccountId() |
CfnTransitGatewayPeeringAttachmentProps.Builder |
peerRegion(String peerRegion)
Sets the value of
CfnTransitGatewayPeeringAttachmentProps.getPeerRegion() |
CfnTransitGatewayPeeringAttachmentProps.Builder |
peerTransitGatewayId(String peerTransitGatewayId)
Sets the value of
CfnTransitGatewayPeeringAttachmentProps.getPeerTransitGatewayId() |
CfnTransitGatewayPeeringAttachmentProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnTransitGatewayPeeringAttachmentProps.getTags() |
CfnTransitGatewayPeeringAttachmentProps.Builder |
transitGatewayId(String transitGatewayId)
Sets the value of
CfnTransitGatewayPeeringAttachmentProps.getTransitGatewayId() |
@Stability(value=Stable) public CfnTransitGatewayPeeringAttachmentProps.Builder peerAccountId(String peerAccountId)
CfnTransitGatewayPeeringAttachmentProps.getPeerAccountId()
peerAccountId
- `AWS::EC2::TransitGatewayPeeringAttachment.PeerAccountId`. This parameter is required.this
@Stability(value=Stable) public CfnTransitGatewayPeeringAttachmentProps.Builder peerRegion(String peerRegion)
CfnTransitGatewayPeeringAttachmentProps.getPeerRegion()
peerRegion
- `AWS::EC2::TransitGatewayPeeringAttachment.PeerRegion`. This parameter is required.this
@Stability(value=Stable) public CfnTransitGatewayPeeringAttachmentProps.Builder peerTransitGatewayId(String peerTransitGatewayId)
CfnTransitGatewayPeeringAttachmentProps.getPeerTransitGatewayId()
peerTransitGatewayId
- `AWS::EC2::TransitGatewayPeeringAttachment.PeerTransitGatewayId`. This parameter is required.this
@Stability(value=Stable) public CfnTransitGatewayPeeringAttachmentProps.Builder transitGatewayId(String transitGatewayId)
CfnTransitGatewayPeeringAttachmentProps.getTransitGatewayId()
transitGatewayId
- `AWS::EC2::TransitGatewayPeeringAttachment.TransitGatewayId`. This parameter is required.this
@Stability(value=Stable) public CfnTransitGatewayPeeringAttachmentProps.Builder tags(List<? extends CfnTag> tags)
CfnTransitGatewayPeeringAttachmentProps.getTags()
tags
- `AWS::EC2::TransitGatewayPeeringAttachment.Tags`.this
@Stability(value=Stable) public CfnTransitGatewayPeeringAttachmentProps build()
build
in interface software.amazon.jsii.Builder<CfnTransitGatewayPeeringAttachmentProps>
CfnTransitGatewayPeeringAttachmentProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.