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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
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
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.