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) Indicates whether some other object is "equal to" this one by SDK fields.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 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.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringtypeName()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
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.
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ProgressEvent.Builder,ProgressEvent> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-