Interface AsyncOperation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AsyncOperation.Builder,
,AsyncOperation> SdkBuilder<AsyncOperation.Builder,
,AsyncOperation> SdkPojo
- Enclosing class:
AsyncOperation
public static interface AsyncOperation.Builder
extends SdkPojo, CopyableBuilder<AsyncOperation.Builder,AsyncOperation>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time that the request was sent to the service.The specific operation for the asynchronous request.operation
(AsyncOperationName operation) The specific operation for the asynchronous request.default AsyncOperation.Builder
requestParameters
(Consumer<AsyncRequestParameters.Builder> requestParameters) The parameters associated with the request.requestParameters
(AsyncRequestParameters requestParameters) The parameters associated with the request.requestStatus
(String requestStatus) The current status of the request.requestTokenARN
(String requestTokenARN) The request token associated with the request.default AsyncOperation.Builder
responseDetails
(Consumer<AsyncResponseDetails.Builder> responseDetails) The details of the response.responseDetails
(AsyncResponseDetails responseDetails) The details of the response.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
-
Method Details
-
creationTime
The time that the request was sent to the service.
- Parameters:
creationTime
- The time that the request was sent to the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The specific operation for the asynchronous request.
- Parameters:
operation
- The specific operation for the asynchronous request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operation
The specific operation for the asynchronous request.
- Parameters:
operation
- The specific operation for the asynchronous request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestTokenARN
The request token associated with the request.
- Parameters:
requestTokenARN
- The request token associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestParameters
The parameters associated with the request.
- Parameters:
requestParameters
- The parameters associated with the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestParameters
default AsyncOperation.Builder requestParameters(Consumer<AsyncRequestParameters.Builder> requestParameters) The parameters associated with the request.
This is a convenience method that creates an instance of theAsyncRequestParameters.Builder
avoiding the need to create one manually viaAsyncRequestParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequestParameters(AsyncRequestParameters)
.- Parameters:
requestParameters
- a consumer that will call methods onAsyncRequestParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestStatus
The current status of the request.
- Parameters:
requestStatus
- The current status of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseDetails
The details of the response.
- Parameters:
responseDetails
- The details of the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseDetails
default AsyncOperation.Builder responseDetails(Consumer<AsyncResponseDetails.Builder> responseDetails) The details of the response.
This is a convenience method that creates an instance of theAsyncResponseDetails.Builder
avoiding the need to create one manually viaAsyncResponseDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresponseDetails(AsyncResponseDetails)
.- Parameters:
responseDetails
- a consumer that will call methods onAsyncResponseDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-