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.BuilderprogressEvent(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, responseMetadataMethods 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, 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
RequestTokenof theProgressEventreturned 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
RequestTokenof theProgressEventreturned 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 theRequestTokenof theProgressEventreturned byCreateResource.ProgressEvent.Builderavoiding the need to create one manually viaProgressEvent.builder().When the
Consumercompletes,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:
 
 
 -