public static interface ProgressEvent.Builder extends SdkPojo, CopyableBuilder<ProgressEvent.Builder,ProgressEvent>
| Modifier and Type | Method and Description |
|---|---|
ProgressEvent.Builder |
errorCode(HandlerErrorCode errorCode)
For requests with a status of
FAILED, the associated error code. |
ProgressEvent.Builder |
errorCode(String errorCode)
For requests with a status of
FAILED, the associated error code. |
ProgressEvent.Builder |
eventTime(Instant eventTime)
When the resource operation request was initiated.
|
ProgressEvent.Builder |
identifier(String identifier)
The primary identifier for the resource.
|
ProgressEvent.Builder |
operation(Operation operation)
The resource operation type.
|
ProgressEvent.Builder |
operation(String operation)
The resource operation type.
|
ProgressEvent.Builder |
operationStatus(OperationStatus operationStatus)
The current status of the resource operation request.
|
ProgressEvent.Builder |
operationStatus(String operationStatus)
The current status of the resource operation request.
|
ProgressEvent.Builder |
requestToken(String requestToken)
The unique token representing this resource operation request.
|
ProgressEvent.Builder |
resourceModel(String resourceModel)
A JSON string containing the resource model, consisting of each resource property and its current value.
|
ProgressEvent.Builder |
retryAfter(Instant retryAfter)
When to next request the status of this resource operation request.
|
ProgressEvent.Builder |
statusMessage(String statusMessage)
Any message explaining the current status.
|
ProgressEvent.Builder |
typeName(String typeName)
The name of the resource type used in the operation.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildProgressEvent.Builder typeName(String typeName)
The name of the resource type used in the operation.
typeName - The name of the resource type used in the operation.ProgressEvent.Builder identifier(String identifier)
The primary identifier for the resource.
In some cases, the resource identifier may be available before the resource operation has reached a status of
SUCCESS.
identifier - The primary identifier for the resource.
In some cases, the resource identifier may be available before the resource operation has reached a
status of SUCCESS.
ProgressEvent.Builder requestToken(String requestToken)
The unique token representing this resource operation request.
Use the RequestToken with GetResourceRequestStatus to return the current status of a resource operation request.
requestToken - The unique token representing this resource operation request.
Use the RequestToken with GetResourceRequestStatus to return the current status of a resource operation request.
ProgressEvent.Builder operation(String operation)
The resource operation type.
ProgressEvent.Builder operation(Operation operation)
The resource operation type.
ProgressEvent.Builder operationStatus(String operationStatus)
The current status of the resource operation request.
PENDING: The resource operation hasn't yet started.
IN_PROGRESS: The resource operation is currently in progress.
SUCCESS: The resource operation has successfully completed.
FAILED: The resource operation has failed. Refer to the error code and status message for more
information.
CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled.
CANCEL_COMPLETE: The resource operation has been canceled.
operationStatus - The current status of the resource operation request.
PENDING: The resource operation hasn't yet started.
IN_PROGRESS: The resource operation is currently in progress.
SUCCESS: The resource operation has successfully completed.
FAILED: The resource operation has failed. Refer to the error code and status message for
more information.
CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled.
CANCEL_COMPLETE: The resource operation has been canceled.
OperationStatus,
OperationStatusProgressEvent.Builder operationStatus(OperationStatus operationStatus)
The current status of the resource operation request.
PENDING: The resource operation hasn't yet started.
IN_PROGRESS: The resource operation is currently in progress.
SUCCESS: The resource operation has successfully completed.
FAILED: The resource operation has failed. Refer to the error code and status message for more
information.
CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled.
CANCEL_COMPLETE: The resource operation has been canceled.
operationStatus - The current status of the resource operation request.
PENDING: The resource operation hasn't yet started.
IN_PROGRESS: The resource operation is currently in progress.
SUCCESS: The resource operation has successfully completed.
FAILED: The resource operation has failed. Refer to the error code and status message for
more information.
CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled.
CANCEL_COMPLETE: The resource operation has been canceled.
OperationStatus,
OperationStatusProgressEvent.Builder eventTime(Instant eventTime)
When the resource operation request was initiated.
eventTime - When the resource operation request was initiated.ProgressEvent.Builder resourceModel(String resourceModel)
A JSON string containing the resource model, consisting of each resource property and its current value.
resourceModel - A JSON string containing the resource model, consisting of each resource property and its current
value.ProgressEvent.Builder statusMessage(String statusMessage)
Any message explaining the current status.
statusMessage - Any message explaining the current status.ProgressEvent.Builder errorCode(String errorCode)
For requests with a status of FAILED, the associated error code.
For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
errorCode - For requests with a status of FAILED, the associated error code.
For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
HandlerErrorCode,
HandlerErrorCodeProgressEvent.Builder errorCode(HandlerErrorCode errorCode)
For requests with a status of FAILED, the associated error code.
For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
errorCode - For requests with a status of FAILED, the associated error code.
For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
HandlerErrorCode,
HandlerErrorCodeProgressEvent.Builder retryAfter(Instant retryAfter)
When to next request the status of this resource operation request.
retryAfter - When to next request the status of this resource operation request.Copyright © 2023. All rights reserved.