Interface CreateResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudControlResponse.Builder
,CopyableBuilder<CreateResourceResponse.Builder,
,CreateResourceResponse> SdkBuilder<CreateResourceResponse.Builder,
,CreateResourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateResourceResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateResourceResponse.Builder
progressEvent
(Consumer<ProgressEvent.Builder> progressEvent) Represents the current status of the resource creation request.progressEvent
(ProgressEvent progressEvent) Represents the current status of the resource creation 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 creation request.
After you have initiated a resource creation request, you can monitor the progress of your request by calling GetResourceRequestStatus using the
RequestToken
of theProgressEvent
returned byCreateResource
.- Parameters:
progressEvent
- Represents the current status of the resource creation request.After you have initiated a resource creation request, you can monitor the progress of your request by calling GetResourceRequestStatus using the
RequestToken
of theProgressEvent
returned byCreateResource
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressEvent
Represents the current status of the resource creation request.
After you have initiated a resource creation request, you can monitor the progress of your request by calling GetResourceRequestStatus using the
This is a convenience method that creates an instance of theRequestToken
of theProgressEvent
returned byCreateResource
.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:
-