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.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final HandlerErrorCode
For requests with a status ofFAILED
, the associated error code.final String
For requests with a status ofFAILED
, the associated error code.final Instant
When the resource operation request was initiated.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The unique token representing the Hooks operation for the request.final String
The primary identifier for the resource.final Operation
The resource operation type.final String
The resource operation type.final OperationStatus
The current status of the resource operation request.final String
The current status of the resource operation request.final String
The unique token representing this resource operation request.final String
A JSON string containing the resource model, consisting of each resource property and its current value.final Instant
When to next request the status of this resource operation request.static Class
<? extends ProgressEvent.Builder> final String
Any message explaining the current status.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
typeName()
The name of the resource type used in the operation.Methods 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
RequestToken
with GetResourceRequestStatus to return the current status of a resource operation request.- Returns:
- The unique token representing this resource operation request.
Use the
RequestToken
with 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,
operation
will 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,
operation
will 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,
operationStatus
will 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,
operationStatus
will 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,
errorCode
will 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,
errorCode
will 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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ProgressEvent.Builder,
ProgressEvent> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-