Interface UpdateResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudControlResponse.Builder
,CopyableBuilder<UpdateResourceResponse.Builder,
,UpdateResourceResponse> SdkBuilder<UpdateResourceResponse.Builder,
,UpdateResourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateResourceResponse
public static interface UpdateResourceResponse.Builder
extends CloudControlResponse.Builder, SdkPojo, CopyableBuilder<UpdateResourceResponse.Builder,UpdateResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateResourceResponse.Builder
progressEvent
(Consumer<ProgressEvent.Builder> progressEvent) Represents the current status of the resource update request.progressEvent
(ProgressEvent progressEvent) Represents the current status of the resource update request.Methods inherited from interface software.amazon.awssdk.services.cloudcontrol.model.CloudControlResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
progressEvent
Represents the current status of the resource update request.
Use the
RequestToken
of theProgressEvent
with GetResourceRequestStatus to return the current status of a resource operation request.- Parameters:
progressEvent
- Represents the current status of the resource update request.Use the
RequestToken
of theProgressEvent
with GetResourceRequestStatus to return the current status of a resource operation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressEvent
Represents the current status of the resource update request.
Use the
This is a convenience method that creates an instance of theRequestToken
of theProgressEvent
with GetResourceRequestStatus to return the current status of a resource operation request.ProgressEvent.Builder
avoiding the need to create one manually viaProgressEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprogressEvent(ProgressEvent)
.- Parameters:
progressEvent
- a consumer that will call methods onProgressEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-