public static interface CloseInstancePublicPortsResponse.Builder extends LightsailResponse.Builder, CopyableBuilder<CloseInstancePublicPortsResponse.Builder,CloseInstancePublicPortsResponse>
| Modifier and Type | Method and Description |
|---|---|
default CloseInstancePublicPortsResponse.Builder |
operation(Consumer<Operation.Builder> operation)
An array of key-value pairs that contains information about the operation.
|
CloseInstancePublicPortsResponse.Builder |
operation(Operation operation)
An array of key-value pairs that contains information about the operation.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCloseInstancePublicPortsResponse.Builder operation(Operation operation)
An array of key-value pairs that contains information about the operation.
operation - An array of key-value pairs that contains information about the operation.default CloseInstancePublicPortsResponse.Builder operation(Consumer<Operation.Builder> operation)
An array of key-value pairs that contains information about the 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.Builderoperation(Operation)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.