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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetOperationResponse.Builderoperation(Consumer<Operation.Builder> operation)A complex type that contains information about the operation.GetOperationResponse.Builderoperation(Operation 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, sdkFieldNameToField, 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 Detail
-
operation
GetOperationResponse.Builder operation(Operation 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
default GetOperationResponse.Builder operation(Consumer<Operation.Builder> 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:
operation(Operation)
-
-