Class HookProgressEvent
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HookProgressEvent.Builder,HookProgressEvent>
Represents the current status of applicable Hooks for a resource operation request. It contains list of Hook invocation information for the resource specified in the request since the same target can invoke multiple Hooks. For more information, see Managing resource operation requests with Amazon Web Services Cloud Control API .
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HookProgressEvent.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe failure mode of the invocation.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe time that the Hook invocation request initiated.final StringThe status of the Hook invocation.final StringThe message explaining the current Hook status.final StringThe ARN of the Hook being invoked.final StringThe type name of the Hook being invoked.final StringThe type version of the Hook being invoked.final StringStates whether the Hook is invoked before or after resource provisioning.static Class<? extends HookProgressEvent.Builder> 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.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
hookTypeName
The type name of the Hook being invoked.
- Returns:
- The type name of the Hook being invoked.
-
hookTypeVersionId
The type version of the Hook being invoked.
- Returns:
- The type version of the Hook being invoked.
-
hookTypeArn
The ARN of the Hook being invoked.
- Returns:
- The ARN of the Hook being invoked.
-
invocationPoint
States whether the Hook is invoked before or after resource provisioning.
- Returns:
- States whether the Hook is invoked before or after resource provisioning.
-
hookStatus
The status of the Hook invocation. The following are potential statuses:
-
HOOK_PENDING: The Hook was added to the invocation plan, but not yet invoked. -
HOOK_IN_PROGRESS: The Hook was invoked, but hasn't completed. -
HOOK_COMPLETE_SUCCEEDED: The Hook invocation is complete with a successful result. -
HOOK_COMPLETE_FAILED: The Hook invocation is complete with a failed result. -
HOOK_FAILED: The Hook invocation didn't complete successfully.
- Returns:
- The status of the Hook invocation. The following are potential statuses:
-
HOOK_PENDING: The Hook was added to the invocation plan, but not yet invoked. -
HOOK_IN_PROGRESS: The Hook was invoked, but hasn't completed. -
HOOK_COMPLETE_SUCCEEDED: The Hook invocation is complete with a successful result. -
HOOK_COMPLETE_FAILED: The Hook invocation is complete with a failed result. -
HOOK_FAILED: The Hook invocation didn't complete successfully.
-
-
-
hookEventTime
The time that the Hook invocation request initiated.
- Returns:
- The time that the Hook invocation request initiated.
-
hookStatusMessage
The message explaining the current Hook status.
- Returns:
- The message explaining the current Hook status.
-
failureMode
The failure mode of the invocation. The following are the potential statuses:
-
FAIL: This will fail the Hook invocation and the request associated with it. -
WARN: This will fail the Hook invocation, but not the request associated with it.
- Returns:
- The failure mode of the invocation. The following are the potential statuses:
-
FAIL: This will fail the Hook invocation and the request associated with it. -
WARN: This will fail the Hook invocation, but not the request associated with it.
-
-
-
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<HookProgressEvent.Builder,HookProgressEvent> - 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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-