Interface UpdateInstanceMetadataOptionsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<UpdateInstanceMetadataOptionsResponse.Builder,,- UpdateInstanceMetadataOptionsResponse> - LightsailResponse.Builder,- SdkBuilder<UpdateInstanceMetadataOptionsResponse.Builder,,- UpdateInstanceMetadataOptionsResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- UpdateInstanceMetadataOptionsResponse
public static interface UpdateInstanceMetadataOptionsResponse.Builder
extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<UpdateInstanceMetadataOptionsResponse.Builder,UpdateInstanceMetadataOptionsResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionoperation(Consumer<Operation.Builder> operation) An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
operationAn array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request. - Parameters:
- operation- An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
operationdefault UpdateInstanceMetadataOptionsResponse.Builder operation(Consumer<Operation.Builder> operation) An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request. 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 on- Operation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-