Class HookProgressEvent
- java.lang.Object
-
- software.amazon.awssdk.services.cloudcontrol.model.HookProgressEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HookProgressEvent.Builder,HookProgressEvent>
@Generated("software.amazon.awssdk:codegen") public final class HookProgressEvent extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHookProgressEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HookProgressEvent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureMode()The failure mode of the invocation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstanthookEventTime()The time that the Hook invocation request initiated.StringhookStatus()The status of the Hook invocation.StringhookStatusMessage()The message explaining the current Hook status.StringhookTypeArn()The ARN of the Hook being invoked.StringhookTypeName()The type name of the Hook being invoked.StringhookTypeVersionId()The type version of the Hook being invoked.StringinvocationPoint()States whether the Hook is invoked before or after resource provisioning.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends HookProgressEvent.Builder>serializableBuilderClass()HookProgressEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hookTypeName
public final String hookTypeName()
The type name of the Hook being invoked.
- Returns:
- The type name of the Hook being invoked.
-
hookTypeVersionId
public final String hookTypeVersionId()
The type version of the Hook being invoked.
- Returns:
- The type version of the Hook being invoked.
-
hookTypeArn
public final String hookTypeArn()
The ARN of the Hook being invoked.
- Returns:
- The ARN of the Hook being invoked.
-
invocationPoint
public final String 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
public final String 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
public final Instant hookEventTime()
The time that the Hook invocation request initiated.
- Returns:
- The time that the Hook invocation request initiated.
-
hookStatusMessage
public final String hookStatusMessage()
The message explaining the current Hook status.
- Returns:
- The message explaining the current Hook status.
-
failureMode
public final String 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
public HookProgressEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HookProgressEvent.Builder,HookProgressEvent>
-
builder
public static HookProgressEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends HookProgressEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-