Interface CreateConnectPeerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateConnectPeerRequest.Builder,,CreateConnectPeerRequest> NetworkManagerRequest.Builder,SdkBuilder<CreateConnectPeerRequest.Builder,,CreateConnectPeerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateConnectPeerRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateConnectPeerRequest.BuilderbgpOptions(Consumer<BgpOptions.Builder> bgpOptions) The Connect peer BGP options.bgpOptions(BgpOptions bgpOptions) The Connect peer BGP options.clientToken(String clientToken) The client token associated with the request.connectAttachmentId(String connectAttachmentId) The ID of the connection attachment.coreNetworkAddress(String coreNetworkAddress) A Connect peer core network address.insideCidrBlocks(String... insideCidrBlocks) The inside IP addresses used for BGP peering.insideCidrBlocks(Collection<String> insideCidrBlocks) The inside IP addresses used for BGP peering.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.peerAddress(String peerAddress) The Connect peer address.The subnet ARN for the Connect peer.tags(Collection<Tag> tags) The tags associated with the peer request.tags(Consumer<Tag.Builder>... tags) The tags associated with the peer request.The tags associated with the peer request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
connectAttachmentId
The ID of the connection attachment.
- Parameters:
connectAttachmentId- The ID of the connection attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreNetworkAddress
A Connect peer core network address. This only applies only when the protocol is
GRE.- Parameters:
coreNetworkAddress- A Connect peer core network address. This only applies only when the protocol isGRE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerAddress
The Connect peer address.
- Parameters:
peerAddress- The Connect peer address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpOptions
The Connect peer BGP options. This only applies only when the protocol is
GRE.- Parameters:
bgpOptions- The Connect peer BGP options. This only applies only when the protocol isGRE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpOptions
The Connect peer BGP options. This only applies only when the protocol is
This is a convenience method that creates an instance of theGRE.BgpOptions.Builderavoiding the need to create one manually viaBgpOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobgpOptions(BgpOptions).- Parameters:
bgpOptions- a consumer that will call methods onBgpOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insideCidrBlocks
The inside IP addresses used for BGP peering.
- Parameters:
insideCidrBlocks- The inside IP addresses used for BGP peering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insideCidrBlocks
The inside IP addresses used for BGP peering.
- Parameters:
insideCidrBlocks- The inside IP addresses used for BGP peering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the peer request.
- Parameters:
tags- The tags associated with the peer request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the peer request.
- Parameters:
tags- The tags associated with the peer request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags associated with the peer request.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
The client token associated with the request.
- Parameters:
clientToken- The client token associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetArn
The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.
- Parameters:
subnetArn- The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateConnectPeerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateConnectPeerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-