public static interface DeleteBGPPeerResponse.Builder extends DirectConnectResponse.Builder, CopyableBuilder<DeleteBGPPeerResponse.Builder,DeleteBGPPeerResponse>
Modifier and Type | Method and Description |
---|---|
default DeleteBGPPeerResponse.Builder |
virtualInterface(Consumer<VirtualInterface.Builder> virtualInterface)
Sets the value of the VirtualInterface property for this object.
|
DeleteBGPPeerResponse.Builder |
virtualInterface(VirtualInterface virtualInterface)
Sets the value of the VirtualInterface property for this object.
|
build
copy
apply, build
DeleteBGPPeerResponse.Builder virtualInterface(VirtualInterface virtualInterface)
virtualInterface
- The new value for the VirtualInterface property for this object.default DeleteBGPPeerResponse.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.