public static interface CreateBgpPeerRequest.Builder extends DirectConnectRequest.Builder, CopyableBuilder<CreateBgpPeerRequest.Builder,CreateBgpPeerRequest>
Modifier and Type | Method and Description |
---|---|
default CreateBgpPeerRequest.Builder |
newBGPPeer(Consumer<NewBGPPeer.Builder> newBGPPeer)
Detailed information for the BGP peer to be created.
|
CreateBgpPeerRequest.Builder |
newBGPPeer(NewBGPPeer newBGPPeer)
Detailed information for the BGP peer to be created.
|
CreateBgpPeerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateBgpPeerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateBgpPeerRequest.Builder |
virtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface on which the BGP peer will be provisioned.
|
build
overrideConfiguration
copy
applyMutation, build
CreateBgpPeerRequest.Builder virtualInterfaceId(String virtualInterfaceId)
The ID of the virtual interface on which the BGP peer will be provisioned.
Example: dxvif-456abc78
Default: None
virtualInterfaceId
- The ID of the virtual interface on which the BGP peer will be provisioned.
Example: dxvif-456abc78
Default: None
CreateBgpPeerRequest.Builder newBGPPeer(NewBGPPeer newBGPPeer)
Detailed information for the BGP peer to be created.
Default: None
newBGPPeer
- Detailed information for the BGP peer to be created.
Default: None
default CreateBgpPeerRequest.Builder newBGPPeer(Consumer<NewBGPPeer.Builder> newBGPPeer)
Detailed information for the BGP peer to be created.
Default: None
This is a convenience that creates an instance of theNewBGPPeer.Builder
avoiding the need to create
one manually via NewBGPPeer.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to newBGPPeer(NewBGPPeer)
.newBGPPeer
- a consumer that will call methods on NewBGPPeer.Builder
newBGPPeer(NewBGPPeer)
CreateBgpPeerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateBgpPeerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.