Class ProgressEvent
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProgressEvent.Builder,ProgressEvent>
Represents the current status of a resource operation request. For more information, see Managing resource operation requests in the Amazon Web Services Cloud Control API User Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ProgressEvent.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final HandlerErrorCodeFor requests with a status ofFAILED, the associated error code.final StringFor requests with a status ofFAILED, the associated error code.final InstantWhen the resource operation request was initiated.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe unique token representing the Hooks operation for the request.final StringThe primary identifier for the resource.final OperationThe resource operation type.final StringThe resource operation type.final OperationStatusThe current status of the resource operation request.final StringThe current status of the resource operation request.final StringThe unique token representing this resource operation request.final StringA JSON string containing the resource model, consisting of each resource property and its current value.final InstantWhen to next request the status of this resource operation request.static Class<? extends ProgressEvent.Builder>final StringAny message explaining the current status.final StringtoString()Returns a string representation of this object.final StringtypeName()The name of the resource type used in the operation.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
typeName
The name of the resource type used in the operation.
- Returns:
- The name of the resource type used in the operation.
-
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:
- 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.
-
requestToken
The unique token representing this resource operation request.
Use the
RequestTokenwith GetResourceRequestStatus to return the current status of a resource operation request.- Returns:
- The unique token representing this resource operation request.
Use the
RequestTokenwith GetResourceRequestStatus to return the current status of a resource operation request.
-
hooksRequestToken
The unique token representing the Hooks operation for the request.
- Returns:
- The unique token representing the Hooks operation for the request.
-
operation
The resource operation type.
If the service returns an enum value that is not available in the current SDK version,
operationwill returnOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationAsString().- Returns:
- The resource operation type.
- See Also:
-
operationAsString
The resource operation type.
If the service returns an enum value that is not available in the current SDK version,
operationwill returnOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationAsString().- Returns:
- The resource operation type.
- 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.
If the service returns an enum value that is not available in the current SDK version,
operationStatuswill returnOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationStatusAsString().- Returns:
- 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.
-
- See Also:
-
-
operationStatusAsString
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.
If the service returns an enum value that is not available in the current SDK version,
operationStatuswill returnOperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationStatusAsString().- Returns:
- 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.
-
- See Also:
-
-
eventTime
When the resource operation request was initiated.
- Returns:
- When the resource operation request was initiated.
-
resourceModel
A JSON string containing the resource model, consisting of each resource property and its current value.
- Returns:
- A JSON string containing the resource model, consisting of each resource property and its current value.
-
statusMessage
Any message explaining the current status.
- Returns:
- Any message explaining the current status.
-
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.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnHandlerErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- 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.
- See Also:
-
errorCodeAsString
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.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnHandlerErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- 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.
- See Also:
-
retryAfter
When to next request the status of this resource operation request.
- Returns:
- When to next request the status of this resource operation request.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProgressEvent.Builder,ProgressEvent>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-