public static interface CreateBgpPeerResponse.Builder extends DirectConnectResponse.Builder, CopyableBuilder<CreateBgpPeerResponse.Builder,CreateBgpPeerResponse>
Modifier and Type | Method and Description |
---|---|
default CreateBgpPeerResponse.Builder |
virtualInterface(Consumer<VirtualInterface.Builder> virtualInterface)
Sets the value of the VirtualInterface property for this object.
|
CreateBgpPeerResponse.Builder |
virtualInterface(VirtualInterface virtualInterface)
Sets the value of the VirtualInterface property for this object.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateBgpPeerResponse.Builder virtualInterface(VirtualInterface virtualInterface)
virtualInterface
- The new value for the VirtualInterface property for this object.default CreateBgpPeerResponse.Builder virtualInterface(Consumer<VirtualInterface.Builder> virtualInterface)
VirtualInterface.Builder
avoiding the need to
create one manually via VirtualInterface.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to virtualInterface(VirtualInterface)
.virtualInterface
- a consumer that will call methods on VirtualInterface.Builder
virtualInterface(VirtualInterface)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.