public static interface GetOperationResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetOperationResponse.Builder,GetOperationResponse>
Modifier and Type | Method and Description |
---|---|
default GetOperationResponse.Builder |
operation(Consumer<Operation.Builder> operation)
An array of key-value pairs containing information about the results of your get operation request.
|
GetOperationResponse.Builder |
operation(Operation operation)
An array of key-value pairs containing information about the results of your get operation request.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetOperationResponse.Builder operation(Operation operation)
An array of key-value pairs containing information about the results of your get operation request.
operation
- An array of key-value pairs containing information about the results of your get operation request.default GetOperationResponse.Builder operation(Consumer<Operation.Builder> operation)
An array of key-value pairs containing information about the results of your get operation request.
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.