Interface GetOperationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetOperationResponse.Builder,
,GetOperationResponse> SdkBuilder<GetOperationResponse.Builder,
,GetOperationResponse> SdkPojo
,SdkResponse.Builder
,ServiceDiscoveryResponse.Builder
- Enclosing class:
GetOperationResponse
public static interface GetOperationResponse.Builder
extends ServiceDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<GetOperationResponse.Builder,GetOperationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetOperationResponse.Builder
operation
(Consumer<Operation.Builder> operation) A complex type that contains information about the operation.A complex type that contains information about the operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.servicediscovery.model.ServiceDiscoveryResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
operation
A complex type that contains information about the operation.
- Parameters:
operation
- A complex type that contains information about the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
A complex type that contains information about the operation.
This is a convenience method that creates an instance of theOperation.Builder
avoiding the need to create one manually viaOperation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooperation(Operation)
.- Parameters:
operation
- a consumer that will call methods onOperation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-