public static interface CreateTransitGatewayConnectPeerRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayConnectPeerRequest.Builder,CreateTransitGatewayConnectPeerRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateTransitGatewayConnectPeerRequest.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
transitGatewayAttachmentId
- The ID of the Connect attachment.CreateTransitGatewayConnectPeerRequest.Builder transitGatewayAddress(String transitGatewayAddress)
The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first available IP address from the transit gateway CIDR block.
transitGatewayAddress
- The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must
be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the
first available IP address from the transit gateway CIDR block.CreateTransitGatewayConnectPeerRequest.Builder peerAddress(String peerAddress)
The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
peerAddress
- The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.CreateTransitGatewayConnectPeerRequest.Builder bgpOptions(TransitGatewayConnectRequestBgpOptions bgpOptions)
The BGP options for the Connect peer.
bgpOptions
- The BGP options for the Connect peer.default CreateTransitGatewayConnectPeerRequest.Builder bgpOptions(Consumer<TransitGatewayConnectRequestBgpOptions.Builder> bgpOptions)
The BGP options for the Connect peer.
This is a convenience method that creates an instance of theTransitGatewayConnectRequestBgpOptions.Builder
avoiding the need to create one manually via
TransitGatewayConnectRequestBgpOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to bgpOptions(TransitGatewayConnectRequestBgpOptions)
.
bgpOptions
- a consumer that will call methods on TransitGatewayConnectRequestBgpOptions.Builder
bgpOptions(TransitGatewayConnectRequestBgpOptions)
CreateTransitGatewayConnectPeerRequest.Builder insideCidrBlocks(Collection<String> insideCidrBlocks)
The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block
from the 169.254.0.0/16
range. The first address from the range must be configured on the
appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the
fd00::/8
range.
insideCidrBlocks
- The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR
block from the 169.254.0.0/16
range. The first address from the range must be configured
on the appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block
from the fd00::/8
range.CreateTransitGatewayConnectPeerRequest.Builder insideCidrBlocks(String... insideCidrBlocks)
The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block
from the 169.254.0.0/16
range. The first address from the range must be configured on the
appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the
fd00::/8
range.
insideCidrBlocks
- The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR
block from the 169.254.0.0/16
range. The first address from the range must be configured
on the appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block
from the fd00::/8
range.CreateTransitGatewayConnectPeerRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Connect peer.
tagSpecifications
- The tags to apply to the Connect peer.CreateTransitGatewayConnectPeerRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the Connect peer.
tagSpecifications
- The tags to apply to the Connect peer.CreateTransitGatewayConnectPeerRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the Connect peer.
This is a convenience method that creates an instance of theTagSpecification.Builder
avoiding the need to create one
manually via TagSpecification.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #tagSpecifications(List
.
tagSpecifications
- a consumer that will call methods on
TagSpecification.Builder
#tagSpecifications(java.util.Collection)
CreateTransitGatewayConnectPeerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateTransitGatewayConnectPeerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.