Interface ProgressEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProgressEvent.Builder,
,ProgressEvent> SdkBuilder<ProgressEvent.Builder,
,ProgressEvent> SdkPojo
- Enclosing class:
ProgressEvent
-
Method Summary
Modifier and TypeMethodDescriptionFor requests with a status ofFAILED
, the associated error code.errorCode
(HandlerErrorCode errorCode) For requests with a status ofFAILED
, the associated error code.When the resource operation request was initiated.identifier
(String identifier) The primary identifier for the resource.The resource operation type.The resource operation type.operationStatus
(String operationStatus) The current status of the resource operation request.operationStatus
(OperationStatus operationStatus) The current status of the resource operation request.requestToken
(String requestToken) The unique token representing this resource operation request.resourceModel
(String resourceModel) A JSON string containing the resource model, consisting of each resource property and its current value.retryAfter
(Instant retryAfter) When to next request the status of this resource operation request.statusMessage
(String statusMessage) Any message explaining the current status.The name of the resource type used in the operation.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
-
typeName
The name of the resource type used in the operation.
- Parameters:
typeName
- The name of the resource type used in the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestToken
The unique token representing this resource operation request.
Use the
RequestToken
with GetResourceRequestStatus to return the current status of a resource operation request.- Parameters:
requestToken
- The unique token representing this resource operation request.Use the
RequestToken
with GetResourceRequestStatus to return the current status of a resource operation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The resource operation type.
- Parameters:
operation
- The resource operation type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operation
The resource operation type.
- Parameters:
operation
- The resource operation type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
eventTime
When the resource operation request was initiated.
- Parameters:
eventTime
- When the resource operation request was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceModel
A JSON string containing the resource model, consisting of each resource property and its current value.
- Parameters:
resourceModel
- A JSON string containing the resource model, consisting of each resource property and its current value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
Any message explaining the current status.
- Parameters:
statusMessage
- Any message explaining the current status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
errorCode
- For requests with a status ofFAILED
, the associated error code.For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
errorCode
- For requests with a status ofFAILED
, the associated error code.For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retryAfter
When to next request the status of this resource operation request.
- Parameters:
retryAfter
- When to next request the status of this resource operation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-