public static interface GetOperationResponse.Builder extends ServiceDiscoveryResponse.Builder, CopyableBuilder<GetOperationResponse.Builder,GetOperationResponse>
Modifier and Type | Method and Description |
---|---|
default GetOperationResponse.Builder |
operation(Consumer<Operation.Builder> operation)
A complex type that contains information about the operation.
|
GetOperationResponse.Builder |
operation(Operation operation)
A complex type that contains information about the operation.
|
build
copy
apply, build
GetOperationResponse.Builder operation(Operation operation)
A complex type that contains information about the operation.
operation
- A complex type that contains information about the operation.default GetOperationResponse.Builder operation(Consumer<Operation.Builder> operation)
A complex type 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.Builder
operation(Operation)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.