@Generated(value="software.amazon.awssdk:codegen") public final class ProgressEvent extends Object implements SdkPojo, Serializable, 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ProgressEvent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ProgressEvent.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
HandlerErrorCode |
errorCode()
For requests with a status of
FAILED, the associated error code. |
String |
errorCodeAsString()
For requests with a status of
FAILED, the associated error code. |
Instant |
eventTime()
When the resource operation request was initiated.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
identifier()
The primary identifier for the resource.
|
Operation |
operation()
The resource operation type.
|
String |
operationAsString()
The resource operation type.
|
OperationStatus |
operationStatus()
The current status of the resource operation request.
|
String |
operationStatusAsString()
The current status of the resource operation request.
|
String |
requestToken()
The unique token representing this resource operation request.
|
String |
resourceModel()
A JSON string containing the resource model, consisting of each resource property and its current value.
|
Instant |
retryAfter()
When to next request the status of this resource operation request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ProgressEvent.Builder> |
serializableBuilderClass() |
String |
statusMessage()
Any message explaining the current status.
|
ProgressEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
typeName()
The name of the resource type used in the operation.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String typeName()
The name of the resource type used in the operation.
public final 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.
In some cases, the resource identifier may be available before the resource operation has reached a
status of SUCCESS.
public final 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.
Use the RequestToken with GetResourceRequestStatus to return the current status of a resource operation request.
public final Operation operation()
The resource operation type.
If the service returns an enum value that is not available in the current SDK version, operation will
return Operation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operationAsString().
Operationpublic final String operationAsString()
The resource operation type.
If the service returns an enum value that is not available in the current SDK version, operation will
return Operation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
operationAsString().
Operationpublic final 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.
If the service returns an enum value that is not available in the current SDK version, operationStatus
will return OperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operationStatusAsString().
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.
OperationStatuspublic final String 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 return OperationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from operationStatusAsString().
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.
OperationStatuspublic final Instant eventTime()
When the resource operation request was initiated.
public final String resourceModel()
A JSON string containing the resource model, consisting of each resource property and its current value.
public final String statusMessage()
Any message explaining the current status.
public final 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.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return HandlerErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
FAILED, the associated error code.
For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
HandlerErrorCodepublic final String 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
return HandlerErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
FAILED, the associated error code.
For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.
HandlerErrorCodepublic final Instant retryAfter()
When to next request the status of this resource operation request.
public ProgressEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ProgressEvent.Builder,ProgressEvent>public static ProgressEvent.Builder builder()
public static Class<? extends ProgressEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.