public static interface PeerVpcResponse.Builder extends LightsailResponse.Builder, CopyableBuilder<PeerVpcResponse.Builder,PeerVpcResponse>
Modifier and Type | Method and Description |
---|---|
default PeerVpcResponse.Builder |
operation(Consumer<Operation.Builder> operation)
An array of key-value pairs containing information about the request operation.
|
PeerVpcResponse.Builder |
operation(Operation operation)
An array of key-value pairs containing information about the request operation.
|
build
copy
apply, build
PeerVpcResponse.Builder operation(Operation operation)
An array of key-value pairs containing information about the request operation.
operation
- An array of key-value pairs containing information about the request operation.default PeerVpcResponse.Builder operation(Consumer<Operation.Builder> operation)
An array of key-value pairs containing information about the request operation.
This is a convenience that creates an instance of theOperation.Builder
avoiding the need to create
one manually via Operation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to operation(Operation)
.operation
- a consumer that will call methods on Operation.Builder
operation(Operation)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.