Interface GetOperationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetOperationResponse.Builder,,GetOperationResponse> SdkBuilder<GetOperationResponse.Builder,,GetOperationResponse> SdkPojo,SdkResponse.Builder,ServiceDiscoveryResponse.Builder
- Enclosing class:
GetOperationResponse
@Mutable
@NotThreadSafe
public static interface GetOperationResponse.Builder
extends ServiceDiscoveryResponse.Builder, SdkPojo, CopyableBuilder<GetOperationResponse.Builder,GetOperationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetOperationResponse.Builderoperation(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaOperation.builder().When the
Consumercompletes,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:
-