public static interface CreateTransitVirtualInterfaceResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateTransitVirtualInterfaceResponse.Builder,CreateTransitVirtualInterfaceResponse>
Modifier and Type | Method and Description |
---|---|
default CreateTransitVirtualInterfaceResponse.Builder |
virtualInterface(Consumer<VirtualInterface.Builder> virtualInterface)
Sets the value of the VirtualInterface property for this object.
|
CreateTransitVirtualInterfaceResponse.Builder |
virtualInterface(VirtualInterface virtualInterface)
Sets the value of the VirtualInterface property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateTransitVirtualInterfaceResponse.Builder virtualInterface(VirtualInterface virtualInterface)
virtualInterface
- The new value for the VirtualInterface property for this object.default CreateTransitVirtualInterfaceResponse.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 © 2021 Amazon Web Services, Inc. All Rights Reserved.