Interface CreateResourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudControlResponse.Builder,CopyableBuilder<CreateResourceResponse.Builder,CreateResourceResponse>,SdkBuilder<CreateResourceResponse.Builder,CreateResourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateResourceResponse
public static interface CreateResourceResponse.Builder extends CloudControlResponse.Builder, SdkPojo, CopyableBuilder<CreateResourceResponse.Builder,CreateResourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateResourceResponse.BuilderprogressEvent(Consumer<ProgressEvent.Builder> progressEvent)Represents the current status of the resource creation request.CreateResourceResponse.BuilderprogressEvent(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 Detail
-
progressEvent
CreateResourceResponse.Builder progressEvent(ProgressEvent 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
default CreateResourceResponse.Builder progressEvent(Consumer<ProgressEvent.Builder> 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:
progressEvent(ProgressEvent)
-
-