Interface AsyncOperation.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AsyncOperation.Builder,,- AsyncOperation> - SdkBuilder<AsyncOperation.Builder,,- AsyncOperation> - SdkPojo
- Enclosing class:
- AsyncOperation
@Mutable
@NotThreadSafe
public static interface AsyncOperation.Builder
extends SdkPojo, CopyableBuilder<AsyncOperation.Builder,AsyncOperation> 
- 
Method SummaryModifier 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.BuilderrequestParameters(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.BuilderresponseDetails(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
creationTimeThe 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.
 
- 
operationThe 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:
 
- 
operationThe 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:
 
- 
requestTokenARNThe 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.
 
- 
requestParametersThe 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.
 
- 
requestParametersdefault AsyncOperation.Builder requestParameters(Consumer<AsyncRequestParameters.Builder> requestParameters) The parameters associated with the request. This is a convenience method that creates an instance of theAsyncRequestParameters.Builderavoiding the need to create one manually viaAsyncRequestParameters.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestParameters(AsyncRequestParameters).- Parameters:
- requestParameters- a consumer that will call methods on- AsyncRequestParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
requestStatusThe 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.
 
- 
responseDetailsThe 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.
 
- 
responseDetailsdefault AsyncOperation.Builder responseDetails(Consumer<AsyncResponseDetails.Builder> responseDetails) The details of the response. This is a convenience method that creates an instance of theAsyncResponseDetails.Builderavoiding the need to create one manually viaAsyncResponseDetails.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresponseDetails(AsyncResponseDetails).- Parameters:
- responseDetails- a consumer that will call methods on- AsyncResponseDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-