Interface CreateTransitGatewayConnectPeerRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateTransitGatewayConnectPeerRequest.Builder,CreateTransitGatewayConnectPeerRequest>
,Ec2Request.Builder
,SdkBuilder<CreateTransitGatewayConnectPeerRequest.Builder,CreateTransitGatewayConnectPeerRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateTransitGatewayConnectPeerRequest
public static interface CreateTransitGatewayConnectPeerRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayConnectPeerRequest.Builder,CreateTransitGatewayConnectPeerRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
transitGatewayAttachmentId
CreateTransitGatewayConnectPeerRequest.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
- Parameters:
transitGatewayAttachmentId
- The ID of the Connect attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayAddress
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerAddress
CreateTransitGatewayConnectPeerRequest.Builder peerAddress(String peerAddress)
The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.
- Parameters:
peerAddress
- The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpOptions
CreateTransitGatewayConnectPeerRequest.Builder bgpOptions(TransitGatewayConnectRequestBgpOptions bgpOptions)
The BGP options for the Connect peer.
- Parameters:
bgpOptions
- The BGP options for the Connect peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpOptions
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 viaTransitGatewayConnectRequestBgpOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobgpOptions(TransitGatewayConnectRequestBgpOptions)
.- Parameters:
bgpOptions
- a consumer that will call methods onTransitGatewayConnectRequestBgpOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
bgpOptions(TransitGatewayConnectRequestBgpOptions)
-
insideCidrBlocks
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 thefd00::/8
range.- Parameters:
insideCidrBlocks
- The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block from the169.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 thefd00::/8
range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insideCidrBlocks
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 thefd00::/8
range.- Parameters:
insideCidrBlocks
- The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block from the169.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 thefd00::/8
range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateTransitGatewayConnectPeerRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Connect peer.
- Parameters:
tagSpecifications
- The tags to apply to the Connect peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateTransitGatewayConnectPeerRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the Connect peer.
- Parameters:
tagSpecifications
- The tags to apply to the Connect peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
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 viaTagSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tagSpecifications(List
.) - Parameters:
tagSpecifications
- a consumer that will call methods onTagSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagSpecifications(java.util.Collection
)
-
dryRun
CreateTransitGatewayConnectPeerRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTransitGatewayConnectPeerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTransitGatewayConnectPeerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-