Interface GetOperationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetOperationResponse.Builder,,GetOperationResponse> SdkBuilder<GetOperationResponse.Builder,,GetOperationResponse> SdkPojo,SdkResponse.Builder,SsmSapResponse.Builder
- Enclosing class:
GetOperationResponse
public static interface GetOperationResponse.Builder
extends SsmSapResponse.Builder, SdkPojo, CopyableBuilder<GetOperationResponse.Builder,GetOperationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetOperationResponse.Builderoperation(Consumer<Operation.Builder> operation) Returns the details of an operation.Returns the details of an 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssmsap.model.SsmSapResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
operation
Returns the details of an operation.
- Parameters:
operation- Returns the details of an operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
Returns the details of an 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:
-